Skip to content
Prev Previous commit
Fix version-check for sqlite3_stmt_readonly availability.
Feature added in sqlite 3.7.4, not .11.
  • Loading branch information
coleifer committed May 11, 2019
commit 6667caa2903b7c531d1846f9db6e19a20432b913
2 changes: 1 addition & 1 deletion Modules/_sqlite/statement.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "prepare_protocol.h"
#include "util.h"

#if SQLITE_VERSION_NUMBER >= 3007011
#if SQLITE_VERSION_NUMBER >= 3007004
#define HAVE_SQLITE3_STMT_READONLY
#endif

Expand Down