summaryrefslogtreecommitdiff
path: root/statement.h
diff options
context:
space:
mode:
authorHiroshi Inoue2002-08-09 10:04:21 +0000
committerHiroshi Inoue2002-08-09 10:04:21 +0000
commit0b41848aecd086b859c7d0340c43c50ea3618e93 (patch)
tree55b44eb80cbc356b1682afa7dbd9bcdd87b6d10d /statement.h
parent7c774b482f51db2e9548d461c4c6bc17c95602a0 (diff)
Change LOCK statements to start new transaction
in auto-commit off mode.
Diffstat (limited to 'statement.h')
-rw-r--r--statement.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/statement.h b/statement.h
index f1c2ddd..fd22067 100644
--- a/statement.h
+++ b/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)