mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 16:06:01 +00:00
upgraded tedious driver
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user