~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/table_cache_dictionary/dictionary.cc

  • Committer: Olaf van der Spek
  • Date: 2011-03-23 09:26:52 UTC
  • mto: (2247.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2248.
  • Revision ID: olafvdspek@gmail.com-20110323092652-d3e8lutxy8vu2frb
Remove std::nothrow from new()

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
static table_cache_dictionary::TableCache *tables_in_cache;
27
27
static table_cache_dictionary::TableDefinitionCache *table_definitions;
28
28
 
29
 
 
30
29
static int init(drizzled::module::Context &context)
31
30
{
32
 
  table_definitions= new(std::nothrow)table_cache_dictionary::TableDefinitionCache;
33
 
  tables_in_cache= new(std::nothrow)table_cache_dictionary::TableCache;
 
31
  table_definitions= new table_cache_dictionary::TableDefinitionCache;
 
32
  tables_in_cache= new table_cache_dictionary::TableCache;
34
33
 
35
34
  context.add(table_definitions);
36
35
  context.add(tables_in_cache);