Skip to content

Commit a68272e

Browse files
committed
Fix failing test
1 parent fdca32e commit a68272e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

crates/core/src/schema/raw_table.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ impl InferredTableStructure {
106106
}
107107
}
108108

109+
/// A cache of inferred raw table schema and associated put and delete statements for `sync_local`.
110+
///
111+
/// This cache avoids having to re-generate statements on every (partial) checkpoint in the sync
112+
/// client.
109113
#[derive(Default)]
110114
pub struct InferredSchemaCache {
111115
entries: RefCell<BTreeMap<String, SchemaCacheEntry>>,

dart/test/crud_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,8 @@ void main() {
818818
db.execute('CREATE TABLE users (name TEXT);');
819819
expect(
820820
() => createRawTableTriggers(rawTableDescription({})),
821-
throwsA(isSqliteException(3091, contains('Table has no local name'))),
821+
throwsA(isSqliteException(
822+
3091, contains('Raw table row_type has no local name'))),
822823
);
823824
});
824825

0 commit comments

Comments
 (0)