File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff 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 ) ]
110114pub struct InferredSchemaCache {
111115 entries : RefCell < BTreeMap < String , SchemaCacheEntry > > ,
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments