diff options
author | Michael Meskes <meskes@postgresql.org> | 2007-09-26 10:57:01 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2007-09-26 10:57:01 +0000 |
commit | d49b20fbe68fdc66795fe9588ebd510d52a5b9eb (patch) | |
tree | 3c3b969d424551c8384711e64656c826661822f8 /src/interfaces/ecpg/ecpglib/execute.c | |
parent | 689df1bc77173c3a2cc308eee624d04c777b4bcf (diff) | |
download | postgresql-d49b20fbe68fdc66795fe9588ebd510d52a5b9eb.tar.gz |
Applied patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> to get prepare thread-safe.
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/execute.c')
-rw-r--r-- | src/interfaces/ecpg/ecpglib/execute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/ecpglib/execute.c b/src/interfaces/ecpg/ecpglib/execute.c index a1aad0b30a..c5ae1dadf3 100644 --- a/src/interfaces/ecpg/ecpglib/execute.c +++ b/src/interfaces/ecpg/ecpglib/execute.c @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.69 2007/09/21 10:59:27 meskes Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.70 2007/09/26 10:57:00 meskes Exp $ */ /* * The aim is to get a simpler inteface to the database routines. @@ -1515,7 +1515,7 @@ ECPGdo(const int lineno, const int compat, const int force_indicator, const char if (statement_type == ECPGst_execute) { /* if we have an EXECUTE command, only the name is send */ - char *command = ECPGprepared(stmt->command, lineno); + char *command = ECPGprepared(stmt->command, con, lineno); if (command) { |