mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
closes bpo-31525: require sqlite3_prepare_v2 (#3666)
This is based on
40b349cadb (diff-0489411409cd2934730e88bf7767790),
though we can be a bit more aggressive about deleting code.
This commit is contained in:
parent
0ad05c32cc
commit
525269430a
7 changed files with 44 additions and 135 deletions
|
|
@ -39,12 +39,6 @@ int _pysqlite_seterror(sqlite3* db, sqlite3_stmt* st);
|
|||
PyObject * _pysqlite_long_from_int64(sqlite_int64 value);
|
||||
sqlite_int64 _pysqlite_long_as_int64(PyObject * value);
|
||||
|
||||
#if SQLITE_VERSION_NUMBER >= 3003009
|
||||
#define SQLITE3_PREPARE sqlite3_prepare_v2
|
||||
#else
|
||||
#define SQLITE3_PREPARE sqlite3_prepare
|
||||
#endif
|
||||
|
||||
#if SQLITE_VERSION_NUMBER >= 3007014
|
||||
#define SQLITE3_CLOSE sqlite3_close_v2
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue