Skip to content

Commit ce3d1a4

Browse files
committed
Un-break ecpg regression test.
1 parent 34036c8 commit ce3d1a4

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.c

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ char *dates[] = { "19990108foobar",
4747
"January 8, 99 BC",
4848
NULL };
4949

50-
char *times[] = { "0:04",
50+
/* do not conflict with libc "times" symbol */
51+
static char *times[] = { "0:04",
5152
"1:59 PDT",
5253
"13:24:40 -8:00",
5354
"13:24:40.495+3",
@@ -72,22 +73,22 @@ main(void)
7273

7374

7475

75-
#line 51 "dt_test2.pgc"
76+
#line 52 "dt_test2.pgc"
7677
date date1 ;
7778

78-
#line 52 "dt_test2.pgc"
79+
#line 53 "dt_test2.pgc"
7980
timestamp ts1 , ts2 ;
8081

81-
#line 53 "dt_test2.pgc"
82+
#line 54 "dt_test2.pgc"
8283
char * text ;
8384

84-
#line 54 "dt_test2.pgc"
85+
#line 55 "dt_test2.pgc"
8586
interval * i1 ;
8687

87-
#line 55 "dt_test2.pgc"
88+
#line 56 "dt_test2.pgc"
8889
date * dc ;
8990
/* exec sql end declare section */
90-
#line 56 "dt_test2.pgc"
91+
#line 57 "dt_test2.pgc"
9192

9293

9394
int i, j;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy