minor bug fix for mysql -d --file-read

This commit is contained in:
Bernardo Damele 2011-12-06 10:57:23 +00:00
parent 0f5d48ff20
commit 8fe72d87a8

View File

@ -205,34 +205,35 @@ SQL_STATEMENTS = {
" offset ", " offset ",
" union all ", " union all ",
" rownum as ", " rownum as ",
"(case ", ), "(case ", ),
"SQL data definition": ( "SQL data definition": (
"create ", "create ",
"declare ", "declare ",
"drop ", "drop ",
"truncate ", "truncate ",
"alter ", ), "alter ", ),
"SQL data manipulation": ( "SQL data manipulation": (
"insert ", "insert ",
"update ", "update ",
"delete ", "delete ",
"merge ", ), "merge ",
"load ", ),
"SQL data control": ( "SQL data control": (
"grant ", ), "grant ", ),
"SQL data execution": ( "SQL data execution": (
" exec ", " exec ",
"execute ", ), "execute ", ),
"SQL transaction": ( "SQL transaction": (
"start transaction ", "start transaction ",
"begin work ", "begin work ",
"begin transaction ", "begin transaction ",
"commit ", "commit ",
"rollback ", ), "rollback ", ),
} }
# Regular expressions used for parsing error messages (--parse-errors) # Regular expressions used for parsing error messages (--parse-errors)