~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-07-04 19:11:47 UTC
  • mto: This revision was merged to the branch mainline in revision 2367.
  • Revision ID: olafvdspek@gmail.com-20110704191147-s99ojek811zi1fzj
RemoveĀ unusedĀ Name_resolution_context::error_reporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#include "config.h"
 
21
#include <config.h>
22
22
 
23
23
#include <plugin/schema_engine/schema.h>
24
24
 
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