mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 19:43:58 +00:00
upgraded tedious driver
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
DEVMODE=1
|
DEVMODE=1
|
||||||
|
SHELL_SCRIPTING=1
|
||||||
|
|
||||||
# PERMISSIONS=~widgets/app,~widgets/plugins
|
# PERMISSIONS=~widgets/app,~widgets/plugins
|
||||||
# DISABLE_SHELL=1
|
# DISABLE_SHELL=1
|
||||||
# HIDE_APP_EDITOR=1
|
# HIDE_APP_EDITOR=1
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ module.exports = {
|
|||||||
singleDatabase: connections.singleDatabase,
|
singleDatabase: connections.singleDatabase,
|
||||||
// hideAppEditor: !!process.env.HIDE_APP_EDITOR,
|
// hideAppEditor: !!process.env.HIDE_APP_EDITOR,
|
||||||
allowShellConnection: platformInfo.allowShellConnection,
|
allowShellConnection: platformInfo.allowShellConnection,
|
||||||
allowShellScripting: platformInfo.allowShellConnection,
|
allowShellScripting: platformInfo.allowShellScripting,
|
||||||
isDocker: platformInfo.isDocker,
|
isDocker: platformInfo.isDocker,
|
||||||
permissions,
|
permissions,
|
||||||
login,
|
login,
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
"webpack": "^4.42.0",
|
"webpack": "^4.42.0",
|
||||||
"webpack-cli": "^3.3.11",
|
"webpack-cli": "^3.3.11",
|
||||||
"dbgate-tools": "^5.0.0-alpha.1",
|
"dbgate-tools": "^5.0.0-alpha.1",
|
||||||
"tedious": "^9.2.3",
|
"tedious": "^14.5.0",
|
||||||
"async-lock": "^1.2.6"
|
"async-lock": "^1.2.6"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -29,11 +29,7 @@ function runBulkInsertBatch(pool, tableName, writable, rows) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const row of rows) {
|
pool.execBulkLoad(bulkLoad, rows);
|
||||||
bulkLoad.addRow(row);
|
|
||||||
}
|
|
||||||
|
|
||||||
pool.execBulkLoad(bulkLoad);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user