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:37:26 +01:00
parent 788c3373d8
commit a189d21af9
53 changed files with 1136 additions and 488 deletions
+12
View File
@@ -0,0 +1,12 @@
# Phase 19 — Column-aware SQL completion and incremental CSV writing
- Load column names from `information_schema.COLUMNS` when a schema is expanded/refreshed. Cache column names and `table.column` suggestions for the active schema; metadata errors are nonfatal.
- SQL completion now includes cached column suggestions alongside tables, views and keywords.
- Write CSV results one record at a time to a temporary file, with UTF-8 BOM, CRLF and quote escaping; move into place only on success.
- Retains all Phase 18 features.
## Limitations
- Metadata suggestions require loading the schema navigator first and sufficient `information_schema` visibility.
- CSV export still operates on the existing in-memory query result (subject to query result limits); it does not fetch additional database rows.
- Result-grid filtering/sorting still creates an in-memory sorted list.
- Not compiled on macOS or tested against MySQL. Build and test with Xcode before production use.