summaryrefslogtreecommitdiff
path: root/jstests/ord.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/ord.js')
-rw-r--r--jstests/ord.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/ord.js b/jstests/ord.js
index 4612f21..f78e504 100644
--- a/jstests/ord.js
+++ b/jstests/ord.js
@@ -28,6 +28,7 @@ for( i = 0; i < 90; ++i ) {
// the index key {a:1}
t.dropIndex( {a:1} );
+db.getLastError();
// Dropping an index kills all cursors on the indexed namespace, not just those
// cursors using the dropped index.