summaryrefslogtreecommitdiff
path: root/jstests/sharding/update1.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-04-28 15:39:52 -0400
committerEliot Horowitz <eliot@10gen.com>2010-04-28 15:39:52 -0400
commite0d8e8541d2870a2280c9513ac742b5b1864c766 (patch)
treeee2204f48205e45aac9e36689f003bba37f4138a /jstests/sharding/update1.js
parenta634d541ade8c645bb55fbe3e22b81165c24f070 (diff)
downloadmongo-e0d8e8541d2870a2280c9513ac742b5b1864c766.tar.gz
really fix getLastError in mongos SERVER-1039
Diffstat (limited to 'jstests/sharding/update1.js')
-rw-r--r--jstests/sharding/update1.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/update1.js b/jstests/sharding/update1.js
index 84d83c1fbe0..8a96f3c3b08 100644
--- a/jstests/sharding/update1.js
+++ b/jstests/sharding/update1.js
@@ -38,7 +38,7 @@ assert.eq(err.code, 13123, 'key error code 1');
assert.eq(err.code, 13123, 'key error code 2');
coll.update({_id:1, key:1}, {$set: {foo:2}});
-//assert.isnull(db.getLastError(), 'getLastError reset');
+assert.isnull(db.getLastError(), 'getLastError reset');
s.stop()