Set a max limit to sqlite backend
SQLite does not support offset without a limit. So we must use a negative value to have no upper bound. issue11126 review395291002
This commit is contained in:
1 parent
2563aed9b0
commit
0f3587cf59
1 file changed
+2
-1
@@ -333,7 +333,8 @@ class Database(DatabaseInterface):
|
||||
_local = threading.local()
|
||||
_conn = None
|
||||
flavor = Flavor(
|
||||
paramstyle='qmark', function_mapping=MAPPING, null_ordering=False)
|
||||
paramstyle='qmark', function_mapping=MAPPING, null_ordering=False,
|
||||
max_limit=-1)
|
||||
IN_MAX = 200
|
||||
|
||||
TYPES_MAPPING = {
|
||||
|
||||
Reference in new issue
Block a user