~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/unused.cc

Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
void UnusedTables::cull()
48
48
{
49
49
  /* Free cache if too big */
50
 
  while (cached_open_tables() > table_cache_size && getTable())
 
50
  while (table::getCache().size() > table_cache_size && getTable())
51
51
    remove_table(getTable());
52
52
}
53
53