Commit 65dc2e0d authored by Hiroshi Inoue's avatar Hiroshi Inoue

Change LOCK statements to start new transaction

in auto-commit off mode.
parent 41e73280
......@@ -68,6 +68,9 @@ static struct
{
STMT_TYPE_PROCCALL, "{"
},
{
STMT_TYPE_LOCK, "LOCK"
},
{
0, NULL
}
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment