Skip to content

fix(plugin-oracle): let the driver open and report a transaction - #3004

Merged
datlechin merged 1 commit into
mainfrom
fix/oracle-transaction-plugin
Sep 20, 2026
Merged

datlechin merged 1 commit into
mainfrom
fix/oracle-transaction-plugin

Conversation

@datlechin

Copy link
Copy Markdown
Member

Two files from #3001 were left out of that commit by mistake, so main does not compile the Oracle plugin: OracleCoreError gained transactionLost and the plugin's diagnostics switch has no arm for it (AllPlugins fails with "switch must be exhaustive").

It also restores the macOS half of #3001's behaviour, which that PR described and shipped without:

  • beginTransaction() opens the transaction in the core instead of doing nothing, so a batch, a grid save or an MCP client that opens one is held open until COMMIT or ROLLBACK.
  • sessionTransactionState() answers from the core, so the app joins a transaction the user opened rather than committing each statement inside it.

AllPlugins compiles again. The iOS driver already had both, and the package tests and the app tests for this shipped with #3001.

@datlechin
datlechin merged commit c38b4c3 into main Sep 20, 2026
11 of 13 checks passed
@datlechin
datlechin deleted the fix/oracle-transaction-plugin branch September 20, 2026 06:17
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.

1 participant