~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Olaf van der Spek
  • Date: 2011-10-14 10:07:18 UTC
  • mto: This revision was merged to the branch mainline in revision 2438.
  • Revision ID: olafvdspek@gmail.com-20111014100718-n1i5vtysh1gajn70
Use assign(), data() and size()

Show diffs side-by-side

added added

removed removed

Lines of Context:
913
913
 
914
914
  if (not table->is_derived_table() && table->db.data())
915
915
  {
916
 
    my_casedn_str(files_charset_info, table->db.str);
 
916
    my_casedn_str(files_charset_info, table->db.str_);
917
917
    if (not schema::check(*session, identifier::Schema(table->db.data())))
918
918
    {
919
919
      my_error(ER_WRONG_DB_NAME, MYF(0), table->db.data());