aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/batch-runner.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/wasm/batch-runner.js')
-rw-r--r--ext/wasm/batch-runner.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/wasm/batch-runner.js b/ext/wasm/batch-runner.js
index 71171c323..cbd712bb9 100644
--- a/ext/wasm/batch-runner.js
+++ b/ext/wasm/batch-runner.js
@@ -57,9 +57,9 @@
const stack = wasm.scopedAllocPush();
let pDb = 0;
try{
- /*if(unlinkFirst && fn && ':memory:'!==fn){
+ if(unlinkFirst && fn && ':memory:'!==fn){
capi.sqlite3_wasm_vfs_unlink(fn);
- }*/
+ }
const oFlags = capi.SQLITE_OPEN_CREATE | capi.SQLITE_OPEN_READWRITE;
const ppDb = wasm.scopedAllocPtr();
const rc = capi.sqlite3_open_v2(fn, ppDb, oFlags, null);