1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-01 06:27:03 +03:00

wasm: added missing 'use strict' and fixed an undeclared var use caught by that.

FossilOrigin-Name: c16a7f4950d47c2f5177db7dc5d83f0f11eb0cafdce1ec688d6f1bd740d92733
This commit is contained in:
stephan
2022-05-23 13:55:39 +00:00
parent 192201d2ed
commit dc5888e04a
3 changed files with 10 additions and 9 deletions

View File

@ -73,6 +73,7 @@
*/
(function(namespace){
'use strict';
/* For reference: sql.js does essentially everything we want and
it solves much of the wasm-related voodoo, but we'll need a
different structure because we want the db connection to run in
@ -575,7 +576,7 @@
if(v instanceof Uint8Array) return BindTypes.blob;
return undefined;
}
}
};
/**
If isSupportedBindType(v) returns a truthy value, this
@ -1076,7 +1077,7 @@
};
}
const rc = {}, ov = [0,0];
let i = 0;
let i = 0, k;
while((k = S.sqlite3_compileoption_get(i++))){
f._opt(k,ov);
rc[ov[0]] = ov[1];