summaryrefslogtreecommitdiff
path: root/jstests/sharding/shard2.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-02-26 15:55:00 -0500
committerEliot Horowitz <eliot@10gen.com>2009-02-26 15:55:00 -0500
commit3722075618f2cfd20a5bd1251895610989df8669 (patch)
tree8dd72297d05153c7f7edc2c75a5ea755d9a2f5ba /jstests/sharding/shard2.js
parentce06c18f4c144b3cdb119e631d60f51453ed85e7 (diff)
downloadmongo-3722075618f2cfd20a5bd1251895610989df8669.tar.gz
get(Prev|Last)Error stubs
Diffstat (limited to 'jstests/sharding/shard2.js')
-rw-r--r--jstests/sharding/shard2.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/sharding/shard2.js b/jstests/sharding/shard2.js
index 7896d5c4c52..3eb0b30dfc0 100644
--- a/jstests/sharding/shard2.js
+++ b/jstests/sharding/shard2.js
@@ -149,4 +149,9 @@ assert( person.name == "eliot2" );
db.foo.remove( { _id : person._id } );
assert( db.foo.findOne( { num : 3 } ) == null );
+// TODO: getLastError
+db.getLastError();
+db.getPrevError();
+
+
s.stop();