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 (grafted from c792075308e92e56dc6c8c052fa58041c508c9aa) --HG-- branch : 6.0
This commit is contained in:
1 parent
78d3d5617a
commit
deeb0ac66b
1 file changed
+2
-1
@@ -322,7 +322,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