mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 10:22:10 +00:00
Add support for 'START TRANSACTION' syntax
This commit is contained in:
parent
a8eeb899e3
commit
d529389522
@ -14,6 +14,8 @@ bool ParserTransactionControl::parseImpl(Pos & pos, ASTPtr & node, Expected & ex
|
||||
|
||||
if (ParserKeyword("BEGIN TRANSACTION").ignore(pos, expected))
|
||||
action = ASTTransactionControl::BEGIN;
|
||||
else if (ParserKeyword("START TRANSACTION").ignore(pos, expected))
|
||||
action = ASTTransactionControl::BEGIN;
|
||||
else if (ParserKeyword("COMMIT").ignore(pos, expected))
|
||||
action = ASTTransactionControl::COMMIT;
|
||||
else if (ParserKeyword("ROLLBACK").ignore(pos, expected))
|
||||
|
Loading…
Reference in New Issue
Block a user