aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/expected/sql-execute.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2007-09-26 10:57:01 +0000
committerMichael Meskes <meskes@postgresql.org>2007-09-26 10:57:01 +0000
commitd49b20fbe68fdc66795fe9588ebd510d52a5b9eb (patch)
tree3c3b969d424551c8384711e64656c826661822f8 /src/interfaces/ecpg/test/expected/sql-execute.c
parent689df1bc77173c3a2cc308eee624d04c777b4bcf (diff)
downloadpostgresql-d49b20fbe68fdc66795fe9588ebd510d52a5b9eb.tar.gz
postgresql-d49b20fbe68fdc66795fe9588ebd510d52a5b9eb.zip
Applied patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> to get prepare thread-safe.
Diffstat (limited to 'src/interfaces/ecpg/test/expected/sql-execute.c')
-rw-r--r--src/interfaces/ecpg/test/expected/sql-execute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/test/expected/sql-execute.c b/src/interfaces/ecpg/test/expected/sql-execute.c
index fad63e83261..7aa926ffa67 100644
--- a/src/interfaces/ecpg/test/expected/sql-execute.c
+++ b/src/interfaces/ecpg/test/expected/sql-execute.c
@@ -142,7 +142,7 @@ if (sqlca.sqlcode < 0) sqlprint();}
{ ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "declare CUR cursor for $1",
- ECPGt_char_variable,(ECPGprepared_statement("f", __LINE__)),(long)1,(long)1,(1)*sizeof(char),
+ ECPGt_char_variable,(ECPGprepared_statement(NULL, "f", __LINE__)),(long)1,(long)1,(1)*sizeof(char),
ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_EOIT, ECPGt_EORT);
#line 52 "execute.pgc"
@@ -187,7 +187,7 @@ if (sqlca.sqlcode < 0) sqlprint();}
if (sqlca.sqlcode < 0) sqlprint();}
#line 66 "execute.pgc"
- { ECPGdeallocate(__LINE__, 0, "f");
+ { ECPGdeallocate(__LINE__, 0, NULL, "f");
#line 67 "execute.pgc"
if (sqlca.sqlcode < 0) sqlprint();}
@@ -207,7 +207,7 @@ if (sqlca.sqlcode < 0) sqlprint();}
{ ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "declare CUR2 cursor for $1",
- ECPGt_char_variable,(ECPGprepared_statement("f", __LINE__)),(long)1,(long)1,(1)*sizeof(char),
+ ECPGt_char_variable,(ECPGprepared_statement(NULL, "f", __LINE__)),(long)1,(long)1,(1)*sizeof(char),
ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L,
ECPGt_const,"1",(long)1,(long)1,strlen("1"),
ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_EOIT, ECPGt_EORT);