SYNC: autocommit for Oracle

This commit is contained in:
SPRINX0\prochazka
2025-02-25 09:41:12 +01:00
committed by Diflow
parent 11d193a6dd
commit 9e9dec5389
3 changed files with 15 additions and 5 deletions

View File

@@ -285,7 +285,7 @@ async function handleExecuteControlCommand({ command }) {
}
}
async function handleExecuteQuery({ sql }) {
async function handleExecuteQuery({ sql, autoCommit }) {
lastActivity = new Date().getTime();
await waitConnected();
@@ -319,7 +319,7 @@ async function handleExecuteQuery({ sql }) {
// handler.stream = stream;
// resultIndex = handler.resultIndex;
}
process.send({ msgtype: 'done' });
process.send({ msgtype: 'done', autoCommit });
} finally {
executingScripts--;
}