fixed issue 1605:mongodb select fails with long limitby, thanks Alan
This commit is contained in:
2
VERSION
2
VERSION
@@ -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
|
||||
|
||||
@@ -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