~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/create_schema.cc

  • Committer: Olaf van der Spek
  • Date: 2011-03-23 14:35:15 UTC
  • mto: (2247.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2248.
  • Revision ID: olafvdspek@gmail.com-20110323143515-p4tn90h1ipnr7rgx
Refactor Identifier::getSQLPath()

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
  drizzled::message::schema::init(schema_message, lex().name.str);
56
56
 
57
57
  bool res = false;
58
 
  std::string path;
59
 
  schema_identifier.getSQLPath(path);
 
58
  std::string path = schema_identifier.getSQLPath();
60
59
 
61
60
  if (unlikely(plugin::EventObserver::beforeCreateDatabase(session(), path)))
62
61
  {