mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 13:51:47 +00:00
Update JSSQLStatement.cpp
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user