aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/statement.c
diff options
context:
space:
mode:
authorHiroshi Inoue <inoue@tpf.co.jp>2001-03-10 03:34:57 +0000
committerHiroshi Inoue <inoue@tpf.co.jp>2001-03-10 03:34:57 +0000
commite666422ebf51b9433db1f413af38962a0937a69e (patch)
tree04c5afe9c062efef99e5358672573a841a20e4a5 /src/interfaces/odbc/statement.c
parent5490195f045a54e7a33220c3dadcd76f999ac0cf (diff)
downloadpostgresql-e666422ebf51b9433db1f413af38962a0937a69e.tar.gz
postgresql-e666422ebf51b9433db1f413af38962a0937a69e.zip
1)Allow the access to indexes with up to 16 keys.
2)Fix some memory leaks. 3)Change some bogus error messages.
Diffstat (limited to 'src/interfaces/odbc/statement.c')
-rw-r--r--src/interfaces/odbc/statement.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/odbc/statement.c b/src/interfaces/odbc/statement.c
index 8a8d5523ad6..6c0d8552176 100644
--- a/src/interfaces/odbc/statement.c
+++ b/src/interfaces/odbc/statement.c
@@ -404,7 +404,8 @@ mylog("recycle statement: self= %u\n", self);
conn = SC_get_conn(self);
if ( ! CC_is_in_autocommit(conn) && CC_is_in_trans(conn)) {
- CC_send_query(conn, "ABORT", NULL);
+ QResultClass *res = CC_send_query(conn, "ABORT", NULL);
+ QR_Destructor(res);
CC_set_no_trans(conn);
}
break;