changed file extensions
This commit is contained in:
parent
07c53c9046
commit
82d9fae6b5
@ -147,9 +147,9 @@ Result(Table*) idb_getOrCreateTable(IncrementalDB* db, str _table_name, u32 row_
|
|||||||
t->db = db;
|
t->db = db;
|
||||||
t->name = table_name_null_terminated;
|
t->name = table_name_null_terminated;
|
||||||
t->table_file_path = str_from_cstr(
|
t->table_file_path = str_from_cstr(
|
||||||
strcat_malloc(db->db_dir.data, path_seps, t->name.data, ".table.idb"));
|
strcat_malloc(db->db_dir.data, path_seps, t->name.data, ".idb-table"));
|
||||||
t->changes_file_path = str_from_cstr(
|
t->changes_file_path = str_from_cstr(
|
||||||
strcat_malloc(db->db_dir.data, path_seps, t->name.data, ".changes.idb"));
|
strcat_malloc(db->db_dir.data, path_seps, t->name.data, ".idb-changes"));
|
||||||
|
|
||||||
bool table_exists = file_exists(t->table_file_path.data);
|
bool table_exists = file_exists(t->table_file_path.data);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user