Skip to content

Commit 90fe5e2

Browse files
committed
sqlite: fix build after rebase onto upstream refactor
Rebasing onto main picked up "sqlite: refactor error helpers and user function pointers", which moved SQLTagStore::All()'s reset and bind logic into ResetAndBindStatement() and removed the local Isolate* isolate declaration that this PR's trailing RESET_AND_CHECK call still depends on. Re-add it. Signed-off-by: semimikoh <ejffjeosms@gmail.com>
1 parent 1dd0a31 commit 90fe5e2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/node_sqlite.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3613,6 +3613,7 @@ void SQLTagStore::All(const FunctionCallbackInfo<Value>& args) {
36133613
return;
36143614
}
36153615

3616+
Isolate* isolate = env->isolate();
36163617
bool needs_reset = true;
36173618
auto reset = OnScopeLeave([&]() {
36183619
if (needs_reset) sqlite3_reset(stmt->statement_);

0 commit comments

Comments
 (0)