Fix #15388 - Allow rollback if empty statement
Fixes: #15388 Pull-request: #15408 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
c4640c64b3
@ -1617,7 +1617,7 @@ class Import
|
||||
$parser = new Parser($sql_query);
|
||||
|
||||
if (empty($parser->statements[0])) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
$statement = $parser->statements[0];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user