~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/cache.cc

updating

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
{
100
100
  do
101
101
  {
102
 
    const TableIdentifier::Key &key(table->getShare()->getCacheKey());
 
102
    const identifier::Table::Key &key(table->getShare()->getCacheKey());
103
103
 
104
104
    table::CacheRange ppp= table::getCache().equal_range(key);
105
105
 
136
136
and afterwards delete those marked unused.
137
137
*/
138
138
 
139
 
void Cache::removeSchema(const SchemaIdentifier &schema_identifier)
 
139
void Cache::removeSchema(const identifier::Schema &schema_identifier)
140
140
{
141
141
  boost::mutex::scoped_lock scopedLock(_mutex);
142
142
 
172
172
  1  Table is in use by another thread
173
173
*/
174
174
 
175
 
bool Cache::removeTable(Session *session, TableIdentifier &identifier, uint32_t flags)
 
175
bool Cache::removeTable(Session *session, identifier::Table &identifier, uint32_t flags)
176
176
{
177
 
  const TableIdentifier::Key &key(identifier.getKey());
 
177
  const identifier::Table::Key &key(identifier.getKey());
178
178
  bool result= false; 
179
179
  bool signalled= false;
180
180