~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_derived.cc

  • Committer: Brian Aker
  • Date: 2010-10-23 22:28:30 UTC
  • mto: This revision was merged to the branch mainline in revision 1875.
  • Revision ID: brian@tangent.org-20101023222830-em4idhbau96l37zt
Encapsulate schema_name it table_list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
      orig_table_list->table_name=        const_cast<char *>(table->getShare()->getTableName());
150
150
      orig_table_list->table_name_length= table->getShare()->getTableNameSize();
151
151
      table->derived_select_number= first_select->select_number;
152
 
      orig_table_list->db= (char *)"";
 
152
      orig_table_list->setSchemaName((char *)"");
153
153
      orig_table_list->db_length= 0;
154
154
      /* Force read of table stats in the optimizer */
155
155
      table->cursor->info(HA_STATUS_VARIABLE);