summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi Inoue2010-11-10 21:47:48 +0000
committerHiroshi Inoue2010-11-10 21:47:48 +0000
commit5978dd7be95c5ae79589b032030af4e5de7848e9 (patch)
tree1299e0301f75db4f984ecb9392d76b95aea78260
parent9d29209b4c24e0fe0658fc5b5a0b7ea9f418769a (diff)
Fix the bug introduced by the previous change reprted by Adrien de Croy.
-rw-r--r--statement.c3
-rw-r--r--version.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/statement.c b/statement.c
index 9a760ef..1229901 100644
--- a/statement.c
+++ b/statement.c
@@ -207,7 +207,8 @@ PGAPI_AllocStmt(HDBC hdbc,
}
else
{
- stmt->options_orig = stmt->options;
+ InitializeStatementOptions(&stmt->options_orig);
+ stmt->options = stmt->options_orig;
InitializeARDFields(&stmt->ardi.ardopts);
}
ardopts = SC_get_ARDF(stmt);
diff --git a/version.h b/version.h
index 66a3da9..39cd1bf 100644
--- a/version.h
+++ b/version.h
@@ -12,6 +12,6 @@
#define POSTGRESDRIVERVERSION "09.00.0201"
#define POSTGRES_RESOURCE_VERSION "09.00.0201\0"
#define PG_DRVFILE_VERSION 9,0,02,01
-#define PG_BUILD_VERSION "201011090001"
+#define PG_BUILD_VERSION "201011110001"
#endif