Skip to content

Commit df769c3

Browse files
author
Erlend E. Aasland
committed
SQLITE_STMTSTATUS_RUN is available from 3.20.0 and onwards
1 parent e6e4973 commit df769c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_sqlite/statement.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ int pysqlite_statement_reset(pysqlite_Statement* self)
367367
return SQLITE_OK;
368368
}
369369

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

0 commit comments

Comments
 (0)