diff options
Diffstat (limited to 'ext/wasm/api/sqlite3-v-helper.js')
-rw-r--r-- | ext/wasm/api/sqlite3-v-helper.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/wasm/api/sqlite3-v-helper.js b/ext/wasm/api/sqlite3-v-helper.js index 88c86a6a0..264c606b4 100644 --- a/ext/wasm/api/sqlite3-v-helper.js +++ b/ext/wasm/api/sqlite3-v-helper.js @@ -339,8 +339,10 @@ self.sqlite3ApiBootstrap.initializers.push(function(sqlite3){ (sqlite3_vtab*) instance and returns the capi.sqlite3_vtab object created by the first form of this function, or undefined if that form has not been used. This is intended to be called - from sqlite3_module methods which take a (sqlite3_vtab*) pointer - _except_ for xDisconnect(), in which case use... + from sqlite3_module methods which take a (sqlite3_vtab*) + pointer _except_ for xDestroy() (if there is a distinct + xCreate()) or xDisconnect() (if xCreate() is 0 or is the same + as xConnect()), in which case use... - wrapVtab(pVtab,true) as for the previous form, but removes the pointer-to-object mapping before returning. The caller must |