diff options
author | Hiroshi Inoue | 2002-08-09 10:04:21 +0000 |
---|---|---|
committer | Hiroshi Inoue | 2002-08-09 10:04:21 +0000 |
commit | 65dc2e0d8c1200a63e5d293f0cfa95a836eb984c (patch) | |
tree | 30ecb74a0712b51252f4cc5c4d2915565957a92b /src/interfaces | |
parent | 41e732806856708298ceaee651fa47db170b8553 (diff) |
Change LOCK statements to start new transaction
in auto-commit off mode.
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/odbc/statement.c | 3 | ||||
-rw-r--r-- | src/interfaces/odbc/statement.h | 3 |
2 files changed, 5 insertions, 1 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 } }; diff --git a/src/interfaces/odbc/statement.h b/src/interfaces/odbc/statement.h index f1c2ddd4c1f..fd220671e59 100644 --- a/src/interfaces/odbc/statement.h +++ b/src/interfaces/odbc/statement.h @@ -96,7 +96,8 @@ enum STMT_TYPE_DROP, STMT_TYPE_GRANT, STMT_TYPE_REVOKE, - STMT_TYPE_PROCCALL + STMT_TYPE_PROCCALL, + STMT_TYPE_LOCK }; #define STMT_UPDATE(stmt) (stmt->statement_type > STMT_TYPE_SELECT) |