upgraded tedious driver

This commit is contained in:
Jan Prochazka
2022-06-02 16:47:46 +02:00
parent 97d259cd1e
commit 5feb018e22
5 changed files with 624 additions and 189 deletions

View File

@@ -1,4 +1,6 @@
DEVMODE=1
SHELL_SCRIPTING=1
# PERMISSIONS=~widgets/app,~widgets/plugins
# DISABLE_SHELL=1
# HIDE_APP_EDITOR=1

View File

@@ -36,7 +36,7 @@ module.exports = {
singleDatabase: connections.singleDatabase,
// hideAppEditor: !!process.env.HIDE_APP_EDITOR,
allowShellConnection: platformInfo.allowShellConnection,
allowShellScripting: platformInfo.allowShellConnection,
allowShellScripting: platformInfo.allowShellScripting,
isDocker: platformInfo.isDocker,
permissions,
login,

View File

@@ -36,7 +36,7 @@
"webpack": "^4.42.0",
"webpack-cli": "^3.3.11",
"dbgate-tools": "^5.0.0-alpha.1",
"tedious": "^9.2.3",
"tedious": "^14.5.0",
"async-lock": "^1.2.6"
}
}

View File

@@ -29,11 +29,7 @@ function runBulkInsertBatch(pool, tableName, writable, rows) {
);
}
for (const row of rows) {
bulkLoad.addRow(row);
}
pool.execBulkLoad(bulkLoad);
pool.execBulkLoad(bulkLoad, rows);
});
}

801
yarn.lock

File diff suppressed because it is too large Load Diff