Update JSSQLStatement.cpp

This commit is contained in:
Jarred Sumner
2024-06-24 02:08:29 -07:00
parent 528f07c654
commit 18bc587e58

View File

@@ -2262,6 +2262,7 @@ JSC_DEFINE_HOST_FUNCTION(jsSQLStatementExecuteStatementFunctionRun, (JSC::JSGlob
DO_REBIND(arg0);
if (UNLIKELY(scope.exception())) {
sqlite3_clear_bindings(stmt);
sqlite3_reset(stmt);
return JSValue::encode(jsUndefined());
}