Move index cache to NamespaceDetailsTransient

This commit is contained in:
Aaron
2009-03-03 17:30:26 -05:00
parent 72a7d08cd4
commit 2ba030abe0
8 changed files with 43 additions and 48 deletions

View File

@@ -506,7 +506,7 @@ namespace mongo {
typedef map< string, shared_ptr< NamespaceDetailsTransient > >::iterator ouriter;
void NamespaceDetailsTransient::reset() {
clearQueryCache( ns.c_str() );
clearQueryCache();
haveIndexKeys = false;
}