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:42:20 +01:00
parent 3f3c7cb0ba
commit 5db95d7212
23 changed files with 454 additions and 196 deletions
+17
View File
@@ -0,0 +1,17 @@
# Phase 21 — SQL Query Plan Inspector
Based on Phase 20.
## Added
- **Explain** button in SQL editor toolbar. Uses selected SQL when present, otherwise editor SQL.
- Separate query-plan window showing MySQL `EXPLAIN` in table format or `EXPLAIN FORMAT=JSON`.
- Shows optimizer plan columns in the existing native result grid; JSON format is selectable and copyable.
- Displays diagnostic query duration and server errors.
- Limits analysis to SELECT/WITH statements, does not run `EXPLAIN ANALYZE` (which executes the query).
- Does not replace editor query results or add EXPLAIN to normal query history.
## Notes
- Requires an active connection and MySQL permissions to explain the query.
- `EXPLAIN` gives estimated plans, not actual execution metrics.
- Only a single SQL statement should be selected; multi-statement SQL is not supported in the plan inspector.
- Not built in Xcode or tested against a live MySQL server in this environment.