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-18 11:53:06 +01:00
parent c1bfb36de5
commit d0d7ff257e
2 changed files with 191 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# Phase 56 — Edit schema objects
Baseline: Phase 55. Schema navigator context menus for Views, Stored Procedures and Functions now provide **Edit Definition…**.
- Loads original DDL with `SHOW CREATE VIEW`, `SHOW CREATE PROCEDURE` or `SHOW CREATE FUNCTION`.
- Displays an editable full-definition SQL text editor, a reload-original button, and explicit save confirmation.
- Views are updated with `CREATE OR REPLACE VIEW`, preserving ALGORITHM / DEFINER clauses from MySQL's output.
- MySQL routines require DROP then CREATE; save explicitly warns that this is not atomic, and attempts to restore the original definition if recreation fails. Restoration may also fail. Backup and check grants/DEFINER before editing.
- Save errors are displayed without closing the editor. Schema objects are refreshed when the editor closes.
Swift syntax parsed on Linux; native macOS compilation and interactive database testing were not available.