0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00

Remove out dated asserts; we may be reading an existing hashtable from a file, and the asserts are invalid in that case

This commit is contained in:
Aaron 2009-01-16 16:42:00 -05:00
parent 980ce5a396
commit 4dd2a1765f

View File

@ -89,8 +89,6 @@ namespace mongo {
if ( (n & 1) == 0 )
n--;
nodes = (Node *) buf;
assert(nodes[n-1].hash == 0);
assert(nodes[0].hash == 0);
assert( sizeof(Node) == 628 );
//out() << "HashTable() " << _name << " sizeof(node):" << sizeof(Node) << " n:" << n << endl;