File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1130,7 +1130,7 @@ class db_found(Exception): pass
1130
1130
sqlite_setup_debug = False # verbose debug prints from this script?
1131
1131
1132
1132
# We hunt for #define SQLITE_VERSION "n.n.n"
1133
- # We need to find >= sqlite version 3.0.8
1133
+ # We need to find >= sqlite version 3.3.9, for sqlite3_prepare_v2
1134
1134
sqlite_incdir = sqlite_libdir = None
1135
1135
sqlite_inc_paths = [ '/usr/include' ,
1136
1136
'/usr/include/sqlite' ,
@@ -1141,7 +1141,7 @@ class db_found(Exception): pass
1141
1141
]
1142
1142
if cross_compiling :
1143
1143
sqlite_inc_paths = []
1144
- MIN_SQLITE_VERSION_NUMBER = (3 , 0 , 8 )
1144
+ MIN_SQLITE_VERSION_NUMBER = (3 , 3 , 9 )
1145
1145
MIN_SQLITE_VERSION = "." .join ([str (x )
1146
1146
for x in MIN_SQLITE_VERSION_NUMBER ])
1147
1147
@@ -1175,7 +1175,7 @@ class db_found(Exception): pass
1175
1175
break
1176
1176
else :
1177
1177
if sqlite_setup_debug :
1178
- print ("%s: version %d is too old, need >= %s" % (d ,
1178
+ print ("%s: version %s is too old, need >= %s" % (d ,
1179
1179
sqlite_version , MIN_SQLITE_VERSION ))
1180
1180
elif sqlite_setup_debug :
1181
1181
print ("sqlite: %s had no SQLITE_VERSION" % (f ,))
You can’t perform that action at this time.
0 commit comments