diff --git a/test/classes/Plugins/Export/ExportSqlTest.php b/test/classes/Plugins/Export/ExportSqlTest.php index a4355e8d67..a4218a6c88 100644 --- a/test/classes/Plugins/Export/ExportSqlTest.php +++ b/test/classes/Plugins/Export/ExportSqlTest.php @@ -1495,7 +1495,8 @@ SQL; $result, ); - $sqlQuery = 'CREATE TRIGGER `BEFORE_bar_INSERT` ' + $sqlQuery = 'DELIMITER $$' . "\n" + . 'CREATE TRIGGER `BEFORE_bar_INSERT` ' . 'BEFORE INSERT ON `bar` ' . 'FOR EACH ROW BEGIN ' . 'SET @cnt=(SELECT count(*) FROM bar WHERE '