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