cr-sqlite icon indicating copy to clipboard operation
cr-sqlite copied to clipboard

do not check `updatedTableInfosThisTx` as we can't reset on read

Open tantaman opened this issue 1 year ago • 1 comments

commitHook is only called after a write or explicit transaction.

Table infos need to be updated in scenarios where there is a read-only connection pulling from crsql_changes and some other connection updated the schema of the DB.

tantaman avatar May 28 '24 13:05 tantaman

This fixes the issues we've encountered with read-only connections.

jeromegn avatar May 31 '24 12:05 jeromegn