~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/cache.cc

  • Committer: Lee Bieber
  • Date: 2010-11-05 02:19:56 UTC
  • mfrom: (1903.1.1 merge)
  • Revision ID: kalebral@gmail.com-20101105021956-611z6sx4shcoyu2k
Merge Brian - Merge of partial set of patches for locks

Show diffs side-by-side

added added

removed removed

Lines of Context:
282
282
  return result;
283
283
}
284
284
 
 
285
 
 
286
bool Cache::insert(table::Concurrent *arg)
 
287
{
 
288
  CacheMap::iterator returnable= cache.insert(std::make_pair(arg->getShare()->getCacheKey(), arg));
 
289
 
 
290
  return not (returnable == cache.end());
 
291
}
 
292
 
285
293
} /* namespace table */
286
294
} /* namespace drizzled */