mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
batch-runner.js: re-enable unlink-before-run so that OPFS speedtest1 batch can work.
FossilOrigin-Name: ba08f7a7f12601aa580a8dc493b43cdd5ab65c87d5e4b3fd2f549343e45c2d2a
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user