Improved progress display

Previously, the progress bar updated only after completing an entire table.

For large tables such as LIBARC, this could make the application appear to have stopped responding.

Phase 10 updates the interface while rows are being exported.
This commit is contained in:
Mark Gregory
2026-10-16 22:11:14 +01:00
parent 7618294b16
commit b1bce0c166
22 changed files with 266 additions and 118 deletions
+13
View File
@@ -0,0 +1,13 @@
# Phase 11 — Streaming SQL import
- Reads SQL dumps in 64 KiB file chunks, buffering only a line and the current SQL statement.
- Supports DELIMITER directives, SQL quoting, line/block comments and routine bodies.
- Reports statement number and starting line on SQL execution errors.
- Reports approximate byte progress and allows cancellation between statements.
- Verifies SHA-256 sidecar before import if present.
## Limitations
- A single huge SQL statement or line is still buffered in memory.
- Import is nontransactional and cancellation can leave partial changes.
- Parser assumes UTF-8 input and standard MySQL SQL mode (not NO_BACKSLASH_ESCAPES).
- This has not been built with Xcode or integration-tested against MySQL.