@@ -1299,7 +1299,7 @@ def detect_sqlite(self):
|
1299 | 1299 | sqlite_setup_debug = False # verbose debug prints from this script? |
1300 | 1300 | |
1301 | 1301 | # We hunt for #define SQLITE_VERSION "n.n.n" |
1302 | | -# We need to find >= sqlite version 3.0.8 |
| 1302 | +# We need to find >= sqlite version 3.3.9, for sqlite3_prepare_v2 |
1303 | 1303 | sqlite_incdir = sqlite_libdir = None |
1304 | 1304 | sqlite_inc_paths = [ '/usr/include', |
1305 | 1305 | '/usr/include/sqlite', |
@@ -1310,7 +1310,7 @@ def detect_sqlite(self):
|
1310 | 1310 | ] |
1311 | 1311 | if CROSS_COMPILING: |
1312 | 1312 | sqlite_inc_paths = [] |
1313 | | -MIN_SQLITE_VERSION_NUMBER = (3, 0, 8) |
| 1313 | +MIN_SQLITE_VERSION_NUMBER = (3, 3, 9) |
1314 | 1314 | MIN_SQLITE_VERSION = ".".join([str(x) |
1315 | 1315 | for x in MIN_SQLITE_VERSION_NUMBER]) |
1316 | 1316 | |
@@ -1344,7 +1344,7 @@ def detect_sqlite(self):
|
1344 | 1344 | break |
1345 | 1345 | else: |
1346 | 1346 | if sqlite_setup_debug: |
1347 | | -print("%s: version %d is too old, need >= %s"%(d, |
| 1347 | +print("%s: version %s is too old, need >= %s"%(d, |
1348 | 1348 | sqlite_version, MIN_SQLITE_VERSION)) |
1349 | 1349 | elif sqlite_setup_debug: |
1350 | 1350 | print("sqlite: %s had no SQLITE_VERSION"%(f,)) |
|