~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-08-05 11:30:37 UTC
  • mto: This revision was merged to the branch mainline in revision 2395.
  • Revision ID: olafvdspek@gmail.com-20110805113037-qufc9s7ju4w18ize
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
960
960
  if (table->db.str)
961
961
  {
962
962
    ptr->setIsFqtn(true);
963
 
    ptr->setSchemaName(table->db.str, table->db.length);
 
963
    ptr->setSchemaName(table->db);
964
964
  }
965
965
  else if (lex->session->copy_db_to(*ptr->getSchemaNamePtr(), ptr->db_length))
966
966
    return NULL;