mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 11:26:00 +00:00
SYNC: autocommit for Oracle
This commit is contained in:
committed by
Diflow
parent
11d193a6dd
commit
9e9dec5389
@@ -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--;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user