From c7f5c7c128c4a17aa0fb8b787b20a21b180c8c1d Mon Sep 17 00:00:00 2001 From: Michael Meskes Date: Tue, 11 Nov 2008 11:41:24 +0000 Subject: Replaced manually synced preproc.y by the one created by the new script. Adapted regression test files accordingly. --- src/interfaces/ecpg/test/expected/sql-array.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/interfaces/ecpg/test/expected/sql-array.c') diff --git a/src/interfaces/ecpg/test/expected/sql-array.c b/src/interfaces/ecpg/test/expected/sql-array.c index bbdc1cd7414..effdb43e956 100644 --- a/src/interfaces/ecpg/test/expected/sql-array.c +++ b/src/interfaces/ecpg/test/expected/sql-array.c @@ -115,10 +115,10 @@ main (void) int * did = & i ; #line 16 "array.pgc" - int a [ 10 ] = { 9 , 8 , 7 , 6 , 5 , 4 , 3 , 2 , 1 , 0 } ; + int a [ 10 ] = { 9 , 8 , 7 , 6 , 5 , 4 , 3 , 2 , 1 , 0 } ; #line 17 "array.pgc" - char text [ 25 ] = "klmnopqrst" ; + char text [ 25 ] = "klmnopqrst" ; #line 18 "array.pgc" char * t = ( char * ) malloc ( 11 ) ; @@ -148,14 +148,14 @@ if (sqlca.sqlcode < 0) sqlprint();} #line 29 "array.pgc" - { ECPGtrans(__LINE__, NULL, "begin transaction "); + { ECPGtrans(__LINE__, NULL, "begin work "); #line 31 "array.pgc" if (sqlca.sqlcode < 0) sqlprint();} #line 31 "array.pgc" - { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "create table test ( f float , i int , a int [ 10 ] , text char ( 10 ) ) ", ECPGt_EOIT, ECPGt_EORT); + { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "create table test ( f float , i int , a int [ 10 ] , text char ( 10 ) ) ", ECPGt_EOIT, ECPGt_EORT); #line 33 "array.pgc" if (sqlca.sqlcode < 0) sqlprint();} @@ -193,14 +193,14 @@ if (sqlca.sqlcode < 0) sqlprint();} #line 39 "array.pgc" - { ECPGtrans(__LINE__, NULL, "commit"); + { ECPGtrans(__LINE__, NULL, "commit "); #line 41 "array.pgc" if (sqlca.sqlcode < 0) sqlprint();} #line 41 "array.pgc" - { ECPGtrans(__LINE__, NULL, "begin transaction "); + { ECPGtrans(__LINE__, NULL, "begin work "); #line 43 "array.pgc" if (sqlca.sqlcode < 0) sqlprint();} @@ -259,7 +259,7 @@ if (sqlca.sqlcode < 0) sqlprint();} #line 70 "array.pgc" - { ECPGtrans(__LINE__, NULL, "commit"); + { ECPGtrans(__LINE__, NULL, "commit "); #line 72 "array.pgc" if (sqlca.sqlcode < 0) sqlprint();} -- cgit v1.2.3