diff options
author | Michael Meskes <meskes@postgresql.org> | 2009-05-20 16:13:18 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2009-05-20 16:13:18 +0000 |
commit | 0754b391f30e17fde9d7d14d5e0eb458fc02289a (patch) | |
tree | b24018f02474a9e5d67406ade25e297bdee4b213 /src/interfaces/ecpg/ecpglib/execute.c | |
parent | 7340793f31f3a6cee42c6d5b6dc46c05b37dfa9f (diff) | |
download | postgresql-0754b391f30e17fde9d7d14d5e0eb458fc02289a.tar.gz postgresql-0754b391f30e17fde9d7d14d5e0eb458fc02289a.zip |
Removed some unneeded variables and comparisons
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/execute.c')
-rw-r--r-- | src/interfaces/ecpg/ecpglib/execute.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/ecpglib/execute.c b/src/interfaces/ecpg/ecpglib/execute.c index 97524f82d1c..9363b5668fb 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.82 2009/02/03 08:55:45 meskes Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.83 2009/05/20 16:13:18 meskes Exp $ */ /* * The aim is to get a simpler inteface to the database routines. @@ -1501,7 +1501,7 @@ ECPGdo(const int lineno, const int compat, const int force_indicator, const char */ if (statement_type == ECPGst_prepnormal) { - if (!ecpg_auto_prepare(lineno, connection_name, compat, questionmarks, &prepname, query)) + if (!ecpg_auto_prepare(lineno, connection_name, compat, &prepname, query)) return (false); /* @@ -1519,7 +1519,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 = ecpg_prepared(stmt->command, con, lineno); + char *command = ecpg_prepared(stmt->command, con); if (command) { |