Skip to content

Commit

Permalink
Lookup the correct status code
Browse files Browse the repository at this point in the history
  • Loading branch information
ndptech committed Sep 17, 2024
1 parent 208a73f commit 582848c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ static sql_rcode_t sql_check_error(sqlite3 *db, int status)
}

if (status != SQLITE_OK) return sql_error_to_rcode(status);
if (hstatus != SQLITE_OK) return sql_error_to_rcode(status);
if (hstatus != SQLITE_OK) return sql_error_to_rcode(hstatus);

return RLM_SQL_OK;
}
Expand Down

0 comments on commit 582848c

Please sign in to comment.