-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Labels:None
-
Windows
On windows the random seed is not used
BSONObj JSRand( const BSONObj &a, void* data ) { uassert( 12519, "rand accepts no arguments", a.nFields() == 0 ); unsigned r; #if !defined(_WIN32) r = rand_r( &_randomSeed ); #else r = rand(); // seed not used in this case #endif return BSON( "" << double( r ) / ( double( RAND_MAX ) + 1 ) ); }
- is depended on by
-
SERVER-5305 "point not in interval" error in geo_polygon2.js
- Closed