* Enter bulk-parse-load mode (FRESH-INIT ONLY — the caller gates on a fresh * DB, because an incremental index deletes per-file rows mid-phase and needs * the file_path indexes): drop every parse-lane secondary index, including * the four non-unique edge indexes (parse inserts contains-edge
()
| 227 | * EXISTS). |
| 228 | */ |
| 229 | beginBulkParseLoad(): void { |
| 230 | for (const idx of DatabaseConnection.BULK_PARSE_INDEX_NAMES) { |
| 231 | this.db.exec(`DROP INDEX IF EXISTS ${idx}`); |
| 232 | } |
| 233 | this.beginBulkEdgeLoad(); |
| 234 | } |
| 235 | |
| 236 | /** |
| 237 | * Leave bulk-parse-load mode: recreate everything the window dropped, one |
no test coverage detected