mirror of
https://github.com/sist2app/sist2.git
synced 2026-01-23 19:01:14 +00:00
only add new entries into new_table to save memory
This commit is contained in:
@@ -341,7 +341,7 @@ void save_incremental_index(scan_args_t* args) {
|
||||
}
|
||||
|
||||
snprintf(file_path, PATH_MAX, "%s_index_delete.list.zst", ScanCtx.index.path);
|
||||
incremental_delete(file_path, ScanCtx.original_table, ScanCtx.new_table);
|
||||
incremental_delete(file_path, ScanCtx.original_table, ScanCtx.copy_table, ScanCtx.new_table);
|
||||
|
||||
READ_INDICES(file_path, args->incremental, incremental_copy(source, ScanCtx.index.store, file_path, dst_path, ScanCtx.copy_table),
|
||||
perror("incremental_copy"), 1);
|
||||
|
||||
Reference in New Issue
Block a user