Skip to content

Commit 6f3f3ba

Browse files
authored
fix(windows): fix MultiRemove by using CHECK_SQL_OK macro (#772)
1 parent 07fcbf1 commit 6f3f3ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

windows/code/DBStorage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ std::optional<bool> DBStorage::DBTask::MultiRemove(sqlite3 *db,
521521
auto statement = StatementPtr{nullptr, &sqlite3_finalize};
522522
CHECK_SQL_OK(PrepareStatement(db, sql, &statement));
523523
for (int i = 0; i < argCount; i++) {
524-
CHECK(BindString(statement, i + 1, keys[i]));
524+
CHECK_SQL_OK(BindString(statement, i + 1, keys[i]));
525525
}
526526
for (;;) {
527527
auto stepResult = sqlite3_step(statement.get());

0 commit comments

Comments
 (0)