~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_engine/plugin.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:
31
31
 
32
32
static int init(drizzled::module::Context &context)
33
33
{
34
 
  schema_plugin= new(std::nothrow) Schema();
35
 
 
36
 
  if (not schema_plugin)
37
 
  {
38
 
    return 1;
39
 
  }
40
 
 
 
34
  schema_plugin= new Schema;
41
35
  context.add(schema_plugin);
42
 
 
43
36
  return 0;
44
37
}
45
38