fixed issue 1605:mongodb select fails with long limitby, thanks Alan
This commit is contained in:
1 parent
8b7a638e9f
commit
ccdbb9a588
2 files changed
+2
-2
No files matched your search
@@ -1 +1 @@
|
||||
Version 2.6.0-development+timestamp.2013.07.25.05.03.42
|
||||
Version 2.6.0-development+timestamp.2013.07.25.05.11.38
|
||||
+1
-1
@@ -5464,7 +5464,7 @@ class MongoDBAdapter(NoSQLAdapter):
|
||||
else:
|
||||
mongosort_list.append((f, 1))
|
||||
if limitby:
|
||||
limitby_skip, limitby_limit = limitby
|
||||
limitby_skip, limitby_limit = limitby[0], int(limitby[1])
|
||||
else:
|
||||
limitby_skip = limitby_limit = 0
|
||||
|
||||
|
||||
Reference in new issue
Block a user