MXS-1196: Handle top-level FOR loops
The content is ignored and the type is QUERY_TYPE_WRITE.
This commit is contained in:
parent
b492f09d61
commit
77f05b49d0
@ -2522,6 +2522,7 @@ int maxscaleKeyword(int token)
|
||||
|
||||
case TK_BEGIN:
|
||||
case TK_DECLARE:
|
||||
case TK_FOR:
|
||||
if (this_unit.sql_mode == QC_SQL_MODE_ORACLE)
|
||||
{
|
||||
// The beginning of a BLOCK. We'll assume it is in a single
|
||||
|
Loading…
x
Reference in New Issue
Block a user