~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/create_schema.cc

  • Committer: Lee Bieber
  • Date: 2011-02-21 21:20:44 UTC
  • mfrom: (2187.1.2 build)
  • Revision ID: kalebral@gmail.com-20110221212044-x1j9pmv0230febuz
Merge Brian - getLex() usage and fix for table_name creation during admin commands.
Merge Olaf - Use List::begin() and Use List::iterator instead of List_iterator_fast

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    return true;
47
47
  }
48
48
 
49
 
  identifier::Schema schema_identifier(string(getSession()->lex->name.str, getSession()->lex->name.length));
 
49
  identifier::Schema schema_identifier(string(getSession()->getLex()->name.str, getSession()->getLex()->name.length));
50
50
  if (not check(schema_identifier))
51
51
    return false;
52
52
 
53
 
  drizzled::message::schema::init(schema_message, getSession()->lex->name.str);
 
53
  drizzled::message::schema::init(schema_message, getSession()->getLex()->name.str);
54
54
 
55
55
  bool res = false;
56
56
  std::string path;