summaryrefslogtreecommitdiff
path: root/jstests/indexd.js
blob: c519b81bbd3929322e1be5b07c558423a56ac90a (plain)
1
2
3
4
5
6
7
8
9
10
11
12

t = db.indexd;
t.drop();

t.save( { a : 1 } );
t.ensureIndex( { a : 1 } );
db.indexd.$_id_.drop();
r = t.drop();
assert.eq( 1 , r.ok , "drop failed: " + tojson( r ) );


//db.indexd.$_id_.remove({});