Require 3.7.15 or newer and use sqlite3_close_v2 explicitly.

This commit is contained in:
Charles Leifer 2021-01-22 10:26:41 -06:00
parent 2748334ffd
commit 44f1c39205
2 changed files with 2 additions and 34 deletions

View file

@ -39,10 +39,4 @@ int _pysqlite_seterror(sqlite3* db, sqlite3_stmt* st);
sqlite_int64 _pysqlite_long_as_int64(PyObject * value);
#if SQLITE_VERSION_NUMBER >= 3007014
#define SQLITE3_CLOSE sqlite3_close_v2
#else
#define SQLITE3_CLOSE sqlite3_close
#endif
#endif