Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
-
ALL
Description
Example symptom
> c.find().batchSize(2).explain()
|
Fri Apr 13 17:00:08 uncaught exception: error: {
|
"$err" : "tailable cursor requested on non capped collection",
|
"code" : 13051
|
}
|
Cause/fix
if ( argc > 9 && JSVAL_IS_NUMBER( argv[9] ) )
|
- c.setProperty( obj , "_options" , argv[8] );
|
+ c.setProperty( obj , "_options" , argv[9] );
|
else
|
c.setProperty( obj , "_options" , JSVAL_ZERO );
|
Seems to have been fixed by this commit in 2.1
<https://github.com/mongodb/mongo/commit/b9d4ce58>