fix(restore): surface partial DB-import failures + quote-aware SQL split #292
Reference in New Issue
Block a user
Delete Branch "fix/restore-silent-sql-import"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #291. Stepped restore silently swallowed failed SQL statements and always reported "Restore complete", hiding a partial/corrupt database import. Now stepDatabase() counts failures and surfaces them (modal shows "Restore Complete (with warnings)" and does not auto-return), the statement splitter is quote/backtick/escape-aware so a ; or newline in a value no longer splits mid-statement, and comment lines are only skipped between statements. Related to #188 (DatabaseImporter) and the standalone MokoRestore splitter, which can follow.
https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i
fab64e0828to9323de955f