summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib/execute.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2011-09-01 18:01:42 -0400
committerAndrew Dunstan <andrew@dunslane.net>2011-09-01 18:01:42 -0400
commit97464012a0347d7b4456a6b9401f5897522542ee (patch)
tree779d093b29e3b3b5c8e7f3245bc727c99f508418 /src/interfaces/ecpg/ecpglib/execute.c
parent12613cb6b83cac1aa1e7882e84902c445fce3e74 (diff)
Supply missing brace omitted by commit 12613cb6b83cac1aa1e7882e84902c445fce3e74.
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/execute.c')
-rw-r--r--src/interfaces/ecpg/ecpglib/execute.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/ecpglib/execute.c b/src/interfaces/ecpg/ecpglib/execute.c
index 0c4e0cc730c..181fac13e05 100644
--- a/src/interfaces/ecpg/ecpglib/execute.c
+++ b/src/interfaces/ecpg/ecpglib/execute.c
@@ -1492,6 +1492,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))
+ {
setlocale(LC_NUMERIC, oldlocale);
ecpg_free(oldlocale);
va_end(args);