Previously, the importer rejected these scripts because it couldn’t handle custom statement delimiters.

The updated parser identifies the complete procedure as a single statement before passing it to the native MySQL connection.

I tested the parser with Swift, including a stored procedure containing multiple SQL statements. The parser test passed. However, I haven’t compiled the complete macOS application or tested importing against a live MySQL server.
This commit is contained in:
Mark Gregory
2026-10-16 21:55:18 +01:00
parent 819e5cf46e
commit 2b6eb249ce
18 changed files with 138 additions and 147 deletions
@@ -540,7 +540,7 @@
},
{
"comment": "",
"key": "Supports ordinary SQL statements. Dumps using custom DELIMITER directives or stored routines are not supported yet.",
"key": "Supports MySQL DELIMITER directives, triggers and stored routines. Import is not transactional; use a verified backup before restoring.",
"location": {
"startingColumn": 30,
"startingLine": 1687