aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-api-oo1.c-pp.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2025-07-11 19:34:30 +0000
committerstephan <stephan@noemail.net>2025-07-11 19:34:30 +0000
commitc493e4516aa4b45f98c29e546bb424974839846a (patch)
tree8ee43ad02625cd9585415f186cd21bf21a8d55b6 /ext/wasm/api/sqlite3-api-oo1.c-pp.js
parent6fd9469a3281ae67929bfc518d0e80674ec15378 (diff)
downloadsqlite-c493e4516aa4b45f98c29e546bb424974839846a.tar.gz
sqlite-c493e4516aa4b45f98c29e546bb424974839846a.zip
Correct a one-too-many-exclamation-points bug which caused the opposite of intended semantics in oo1.Stmt.pointer ownership.
FossilOrigin-Name: 91e709f36d36174534b4cf4ff548a558e66cca5e23a6c8c106bc43375fc3ce72
Diffstat (limited to 'ext/wasm/api/sqlite3-api-oo1.c-pp.js')
-rw-r--r--ext/wasm/api/sqlite3-api-oo1.c-pp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/api/sqlite3-api-oo1.c-pp.js b/ext/wasm/api/sqlite3-api-oo1.c-pp.js
index 1473e4e45..f92dde48a 100644
--- a/ext/wasm/api/sqlite3-api-oo1.c-pp.js
+++ b/ext/wasm/api/sqlite3-api-oo1.c-pp.js
@@ -532,7 +532,7 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){
}
this.db = arguments[0];
__ptrMap.set(this, arguments[1]);
- if( arguments.length>3 && !!arguments[3] ){
+ if( arguments.length>3 && !arguments[3] ){
__doesNotOwnHandle.add(this);
}
};