cr-sqlite
cr-sqlite copied to clipboard
do not check `updatedTableInfosThisTx` as we can't reset on read
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.
This fixes the issues we've encountered with read-only connections.