1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Correct a one-too-many-exclamation-points bug which caused the opposite of intended semantics in oo1.Stmt.pointer ownership.

FossilOrigin-Name: 91e709f36d36174534b4cf4ff548a558e66cca5e23a6c8c106bc43375fc3ce72
This commit is contained in:
stephan
2025-07-11 19:34:30 +00:00
parent 6fd9469a32
commit c493e4516a
4 changed files with 17 additions and 10 deletions

View File

@@ -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);
}
};