Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tantaman
Copy link
Collaborator

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.

@jeromegn
Copy link
Contributor

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

`commitHook` is only called after a write or explicit transaction.

Table infos need to be updated in read-only scenarios.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants