aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/multibyte.c
diff options
context:
space:
mode:
authorHiroshi Inoue <inoue@tpf.co.jp>2002-03-14 05:42:04 +0000
committerHiroshi Inoue <inoue@tpf.co.jp>2002-03-14 05:42:04 +0000
commit01e322652b14c2aeac1737f29f8bcf9e18d1060e (patch)
tree2793f9c1dcea81f6268e81b777af1c990b74b526 /src/interfaces/odbc/multibyte.c
parentf362dcec61bc8df8b13d65897aecaaac2ce1b7b0 (diff)
downloadpostgresql-01e322652b14c2aeac1737f29f8bcf9e18d1060e.tar.gz
postgresql-01e322652b14c2aeac1737f29f8bcf9e18d1060e.zip
1) Internal improvements to handle updatable cursors(1st cut).
2) Fix a bug in SQLColAttribute().
Diffstat (limited to 'src/interfaces/odbc/multibyte.c')
-rw-r--r--src/interfaces/odbc/multibyte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/odbc/multibyte.c b/src/interfaces/odbc/multibyte.c
index 11d35369ddf..2458abbe69b 100644
--- a/src/interfaces/odbc/multibyte.c
+++ b/src/interfaces/odbc/multibyte.c
@@ -300,7 +300,7 @@ CC_lookup_cs_new(ConnectionClass *self)
char *encstr = NULL;
QResultClass *res;
- res = CC_send_query(self, "select pg_client_encoding()", NULL, TRUE);
+ res = CC_send_query(self, "select pg_client_encoding()", NULL, CLEAR_RESULT_ON_ABORT);
if (res)
{
char *enc = QR_get_value_backend_row(res, 0, 0);