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:
William Desportes 2019-08-20 10:15:03 +02:00
commit c4640c64b3
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -1617,7 +1617,7 @@ class Import
$parser = new Parser($sql_query);
if (empty($parser->statements[0])) {
return false;
return true;
}
$statement = $parser->statements[0];