aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/statement.c
diff options
context:
space:
mode:
authorHiroshi Inoue <inoue@tpf.co.jp>2002-08-09 10:04:21 +0000
committerHiroshi Inoue <inoue@tpf.co.jp>2002-08-09 10:04:21 +0000
commit65dc2e0d8c1200a63e5d293f0cfa95a836eb984c (patch)
tree30ecb74a0712b51252f4cc5c4d2915565957a92b /src/interfaces/odbc/statement.c
parent41e732806856708298ceaee651fa47db170b8553 (diff)
downloadpostgresql-65dc2e0d8c1200a63e5d293f0cfa95a836eb984c.tar.gz
postgresql-65dc2e0d8c1200a63e5d293f0cfa95a836eb984c.zip
Change LOCK statements to start new transaction
in auto-commit off mode.
Diffstat (limited to 'src/interfaces/odbc/statement.c')
-rw-r--r--src/interfaces/odbc/statement.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/odbc/statement.c b/src/interfaces/odbc/statement.c
index 66dbb0a41d5..c8742a6cd36 100644
--- a/src/interfaces/odbc/statement.c
+++ b/src/interfaces/odbc/statement.c
@@ -69,6 +69,9 @@ static struct
STMT_TYPE_PROCCALL, "{"
},
{
+ STMT_TYPE_LOCK, "LOCK"
+ },
+ {
0, NULL
}
};