Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
SQLITE_STMTSTATUS_RUN is available from 3.20.0 and onwards
  • Loading branch information
Erlend E. Aasland committed Aug 20, 2021
commit df769c32595711a5b5453773b29cfd4b0777d115
2 changes: 1 addition & 1 deletion Modules/_sqlite/statement.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ int pysqlite_statement_reset(pysqlite_Statement* self)
return SQLITE_OK;
}

#if SQLITE_VERSION_NUMBER > 3020000
#if SQLITE_VERSION_NUMBER >= 3020000
/* Check if the statement has been run (that is, sqlite3_step() has been
* called at least once). Third parameter is non-zero in order to reset the
* run count. */
Expand Down