0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
This commit is contained in:
dwight 2010-12-22 09:54:17 -05:00
parent 1f9e8fcad6
commit 8247227d74

View File

@ -210,6 +210,9 @@ namespace PerfTests {
*/
class Update1 : public B {
public:
static int rand() {
return std::rand() & 0x7fff;
}
string name() { return "random upserts"; }
void prep() {
client().insert( ns(), BSONObj() );