summaryrefslogtreecommitdiff
path: root/dbtests
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-11-01 23:38:17 -0400
committerEliot Horowitz <eliot@10gen.com>2010-11-01 23:38:17 -0400
commit2dd5f90b5d2ae403abbf895316f08262600df380 (patch)
tree028af44929224795c6af272a4afafdd0b5de3707 /dbtests
parentb0140357afdf61a6e7fe52659bc749935e27da0b (diff)
downloadmongo-2dd5f90b5d2ae403abbf895316f08262600df380.tar.gz
fix $inc overflow on int SERVER-2005
Diffstat (limited to 'dbtests')
-rw-r--r--dbtests/updatetests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbtests/updatetests.cpp b/dbtests/updatetests.cpp
index 9b59799a473..665bdc481ee 100644
--- a/dbtests/updatetests.cpp
+++ b/dbtests/updatetests.cpp
@@ -759,7 +759,7 @@ namespace UpdateTests {
while ( start < max ){
update( BSON( "$inc" << BSON( "x" << 500000 ) ) );
start += 500000;
- //ASSERT_EQUALS( start , findOne()["x"].numberLong() ); // SERVER-2005
+ ASSERT_EQUALS( start , findOne()["x"].numberLong() ); // SERVER-2005
}
}