File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,9 @@ class Parser
3535 public static $ STATEMENT_PARSERS = array (
3636
3737 // MySQL Utility Statements
38- 'EXPLAIN ' => 'SqlParser \\Statements \\ExplainStatement ' ,
3938 'DESCRIBE ' => 'SqlParser \\Statements \\ExplainStatement ' ,
39+ 'EXPLAIN ' => 'SqlParser \\Statements \\ExplainStatement ' ,
40+ 'FLUSH ' => '' ,
4041 'GRANT ' => '' ,
4142 'HELP ' => '' ,
4243 'SET PASSWORD ' => '' ,
@@ -80,15 +81,16 @@ class Parser
8081
8182 // Prepared Statements.
8283 // https://dev.mysql.com/doc/refman/5.7/en/sql-syntax-prepared-statements.html
83- 'PREPARE ' => '' ,
84+ 'DEALLOCATE ' => '' ,
8485 'EXECUTE ' => '' ,
86+ 'PREPARE ' => '' ,
8587
8688 // Transactional and Locking Statements
8789 // https://dev.mysql.com/doc/refman/5.7/en/commit.html
88- 'START TRANSACTION ' => 'SqlParser \\Statements \\TransactionStatement ' ,
8990 'BEGIN ' => 'SqlParser \\Statements \\TransactionStatement ' ,
9091 'COMMIT ' => 'SqlParser \\Statements \\TransactionStatement ' ,
9192 'ROLLBACK ' => 'SqlParser \\Statements \\TransactionStatement ' ,
93+ 'START TRANSACTION ' => 'SqlParser \\Statements \\TransactionStatement ' ,
9294 );
9395
9496 /**
You can’t perform that action at this time.
0 commit comments