Skip to content

Commit 2a7ae5b

Browse files
committed
don't cache schema change
1 parent 0d62b52 commit 2a7ae5b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

core/rs/core/src/tableinfo.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -750,11 +750,6 @@ pub extern "C" fn crsql_ensure_table_infos_are_up_to_date(
750750
ext_data: *mut crsql_ExtData,
751751
err: *mut *mut c_char,
752752
) -> c_int {
753-
let already_updated = unsafe { (*ext_data).updatedTableInfosThisTx == 1 };
754-
if already_updated {
755-
return ResultCode::OK as c_int;
756-
}
757-
758753
let schema_changed =
759754
unsafe { crsql_fetchPragmaSchemaVersion(db, ext_data, TABLE_INFO_SCHEMA_VERSION) };
760755

0 commit comments

Comments
 (0)