You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After #934, SQLite results report whether a transaction is open (from is_autocommit()), but nothing uses it:
resultStore records the transaction state only for MySQL tabs that have their own session. A SQLite connection is one shared connection, so a BEGIN in one tab is open in every tab on that file. The TX badge, Commit/Rollback, and the close and switch prompts (Show an open transaction, and warn before closing a tab that has one #843) don't appear for SQLite.
Should the badge belong to the connection (shown on every tab on that file) rather than to a tab? Commit and Rollback would then act on the shared connection, and closing the last tab on the file would prompt.
Activity
feat(sqlite): transaction state per connection