Merge branch 'QA_5_2'

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2024-04-19 14:45:04 -03:00
commit 204bbd0862
No known key found for this signature in database
GPG Key ID: 6A16FD38AFC89CC8
2 changed files with 2 additions and 2 deletions

View File

@ -1945,7 +1945,7 @@ class ExportSql extends ExportPlugin
$usedAlias = true;
}
$triggerQuery .= 'DELIMITER ;' . "\n";
$triggerQuery .= $delimiter . $crlf . 'DELIMITER ;' . "\n";
}
// One warning per table.

View File

@ -944,7 +944,7 @@ SQL;
self::assertIsString($result);
self::assertStringContainsString('-- Triggers test_table', $result);
self::assertStringContainsString(
'CREATE TRIGGER `test_trigger` AFTER INSERT ON `test_table` FOR EACH ROW BEGIN END',
"CREATE TRIGGER `test_trigger` AFTER INSERT ON `test_table` FOR EACH ROW BEGIN END\n$$",
$result,
);