oracle: fixed commit

This commit is contained in:
Jan Prochazka
2024-06-01 08:36:13 +02:00
parent 68a40e5da6
commit 0cc7a98391
2 changed files with 96 additions and 88 deletions

View File

@@ -67,8 +67,11 @@ const drivers = driverBases.map(driverBase => ({
return pool.end();
},
async query(client, sql) {
//console.log('query sql', sql);
if (sql == null) {a
if (sql.trim() == 'COMMIT;') {
sql = 'COMMIT';
}
if (sql == null) {
return {
rows: [],
columns: [],