We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e178659 commit ec44c18Copy full SHA for ec44c18
src/api.js
@@ -646,7 +646,7 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
646
by bound parameters.
647
*/
648
Statement.prototype["reset"] = function reset() {
649
- this.freemem();
+ this["freemem"]();
650
return (
651
sqlite3_clear_bindings(this.stmt) === SQLITE_OK
652
&& sqlite3_reset(this.stmt) === SQLITE_OK
@@ -666,7 +666,7 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
666
667
Statement.prototype["free"] = function free() {
668
var res;
669
670
res = sqlite3_finalize(this.stmt) === SQLITE_OK;
671
delete this.db.statements[this.stmt];
672
this.stmt = NULL;
0 commit comments