diff options
Diffstat (limited to 'src/interfaces/ecpg/test/preproc')
| -rw-r--r-- | src/interfaces/ecpg/test/preproc/autoprep.pgc | 4 | ||||
| -rw-r--r-- | src/interfaces/ecpg/test/preproc/type.pgc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/test/preproc/autoprep.pgc b/src/interfaces/ecpg/test/preproc/autoprep.pgc index eeeb879d10..31c3ab7a56 100644 --- a/src/interfaces/ecpg/test/preproc/autoprep.pgc +++ b/src/interfaces/ecpg/test/preproc/autoprep.pgc @@ -7,7 +7,7 @@ EXEC SQL INCLUDE ../regression; static void test(void) { EXEC SQL BEGIN DECLARE SECTION; - int item[4], ind[4], i = 1; + int item[4], ind[4], i = 1; int item1, ind1; char sqlstr[64] = "SELECT item2 FROM T ORDER BY item2 NULLS LAST"; EXEC SQL END DECLARE SECTION; @@ -30,7 +30,7 @@ static void test(void) { EXEC SQL SELECT Item2 INTO :item:ind FROM T ORDER BY Item2 NULLS LAST; for (i=0; i<4; i++) - printf("item[%d] = %d\n", i, ind[i] ? -1 : item[i]); + printf("item[%d] = %d\n", i, ind[i] ? -1 : item[i]); EXEC SQL DECLARE C CURSOR FOR SELECT Item1 FROM T; diff --git a/src/interfaces/ecpg/test/preproc/type.pgc b/src/interfaces/ecpg/test/preproc/type.pgc index 359a7f49a0..3200c91dc2 100644 --- a/src/interfaces/ecpg/test/preproc/type.pgc +++ b/src/interfaces/ecpg/test/preproc/type.pgc @@ -31,7 +31,7 @@ main (void) c ptr = NULL; struct varchar { - int len; + int len; char text[10]; } vc; EXEC SQL END DECLARE SECTION; |
