diff options
Diffstat (limited to 'src/interfaces/ecpg/test/expected/sql-quote.c')
-rw-r--r-- | src/interfaces/ecpg/test/expected/sql-quote.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/interfaces/ecpg/test/expected/sql-quote.c b/src/interfaces/ecpg/test/expected/sql-quote.c index 5c2dceb4d03..5bb9ab005ac 100644 --- a/src/interfaces/ecpg/test/expected/sql-quote.c +++ b/src/interfaces/ecpg/test/expected/sql-quote.c @@ -47,7 +47,7 @@ int main(int argc, char* argv[]) { #line 17 "quote.pgc" - { ECPGdo(__LINE__, 0, 1, NULL, "create table My_Table ( Item1 int , Item2 text ) ", ECPGt_EOIT, ECPGt_EORT); + { ECPGdo(__LINE__, 0, 1, NULL, "create table \"My_Table\" ( Item1 int , Item2 text ) ", ECPGt_EOIT, ECPGt_EORT); #line 19 "quote.pgc" if (sqlca.sqlwarn[0] == 'W') sqlprint(); @@ -71,7 +71,7 @@ if (sqlca.sqlcode < 0) sqlprint();} printf("Standard conforming strings: %s\n", var); /* this is a\\b actually */ - { ECPGdo(__LINE__, 0, 1, NULL, "insert into My_Table values( 1 , 'a\\\\b' ) ", ECPGt_EOIT, ECPGt_EORT); + { ECPGdo(__LINE__, 0, 1, NULL, "insert into \"My_Table\" values ( 1 , 'a\\\\b' ) ", ECPGt_EOIT, ECPGt_EORT); #line 25 "quote.pgc" if (sqlca.sqlwarn[0] == 'W') sqlprint(); @@ -81,7 +81,7 @@ if (sqlca.sqlcode < 0) sqlprint();} #line 25 "quote.pgc" /* this is a\b */ - { ECPGdo(__LINE__, 0, 1, NULL, "insert into My_Table values( 1 , 'a\\\\b' ) ", ECPGt_EOIT, ECPGt_EORT); + { ECPGdo(__LINE__, 0, 1, NULL, "insert into \"My_Table\" values ( 1 , 'a\\\\b' ) ", ECPGt_EOIT, ECPGt_EORT); #line 27 "quote.pgc" if (sqlca.sqlwarn[0] == 'W') sqlprint(); @@ -102,7 +102,7 @@ if (sqlca.sqlcode < 0) sqlprint();} /* this is a\\b actually */ - { ECPGdo(__LINE__, 0, 1, NULL, "insert into My_Table values( 1 , 'a\\\\b' ) ", ECPGt_EOIT, ECPGt_EORT); + { ECPGdo(__LINE__, 0, 1, NULL, "insert into \"My_Table\" values ( 1 , 'a\\\\b' ) ", ECPGt_EOIT, ECPGt_EORT); #line 32 "quote.pgc" if (sqlca.sqlwarn[0] == 'W') sqlprint(); @@ -112,7 +112,7 @@ if (sqlca.sqlcode < 0) sqlprint();} #line 32 "quote.pgc" /* this is a\b */ - { ECPGdo(__LINE__, 0, 1, NULL, "insert into My_Table values( 1 , 'a\\\\b' ) ", ECPGt_EOIT, ECPGt_EORT); + { ECPGdo(__LINE__, 0, 1, NULL, "insert into \"My_Table\" values ( 1 , 'a\\\\b' ) ", ECPGt_EOIT, ECPGt_EORT); #line 34 "quote.pgc" if (sqlca.sqlwarn[0] == 'W') sqlprint(); @@ -122,7 +122,7 @@ if (sqlca.sqlcode < 0) sqlprint();} #line 34 "quote.pgc" - { ECPGdo(__LINE__, 0, 1, NULL, "select * from My_Table ", ECPGt_EOIT, ECPGt_EORT); + { ECPGdo(__LINE__, 0, 1, NULL, "select * from \"My_Table\" ", ECPGt_EOIT, ECPGt_EORT); #line 36 "quote.pgc" if (sqlca.sqlwarn[0] == 'W') sqlprint(); @@ -132,7 +132,7 @@ if (sqlca.sqlcode < 0) sqlprint();} #line 36 "quote.pgc" - { ECPGdo(__LINE__, 0, 1, NULL, "drop table My_Table ", ECPGt_EOIT, ECPGt_EORT); + { ECPGdo(__LINE__, 0, 1, NULL, "drop table \"My_Table\" ", ECPGt_EOIT, ECPGt_EORT); #line 38 "quote.pgc" if (sqlca.sqlwarn[0] == 'W') sqlprint(); |