~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/create_schema.cc

  • Committer: Brian Aker
  • Date: 2011-02-14 02:47:12 UTC
  • mto: (2170.1.1 alter-table)
  • mto: This revision was merged to the branch mainline in revision 2172.
  • Revision ID: brian@tangent.org-20110214024712-67qeo6249b0hzfcz
Merge in move of schema.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <drizzled/show.h>
23
23
#include <drizzled/session.h>
24
24
#include <drizzled/statement/create_schema.h>
25
 
#include <drizzled/db.h>
 
25
#include <drizzled/schema.h>
26
26
#include <drizzled/plugin/event_observer.h>
27
27
#include <drizzled/message.h>
28
28
 
60
60
  }
61
61
  else
62
62
  {
63
 
    res= create_db(getSession(), schema_message, getSession()->getLex()->exists());
 
63
    res= schema::create(getSession(), schema_message, getSession()->getLex()->exists());
64
64
    if (unlikely(plugin::EventObserver::afterCreateDatabase(*getSession(), path, res)))
65
65
    {
66
66
      my_error(ER_EVENT_OBSERVER_PLUGIN, schema_identifier);