~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_derived.cc

  • Committer: Olaf van der Spek
  • Date: 2011-08-05 13:28:48 UTC
  • mto: This revision was merged to the branch mainline in revision 2395.
  • Revision ID: olafvdspek@gmail.com-20110805132848-vvwjg6pgwf56xnsd
Use const char* instead of str_ref

Show diffs side-by-side

added added

removed removed

Lines of Context:
146
146
    {
147
147
      orig_table_list->derived_result= derived_result;
148
148
      orig_table_list->table= table;
149
 
      orig_table_list->setTableName(table->getShare()->getTableNameRef());
 
149
      orig_table_list->setTableName(table->getShare()->getTableName());
150
150
      table->derived_select_number= first_select->select_number;
151
 
      orig_table_list->setSchemaName(str_ref(""));
 
151
      orig_table_list->setSchemaName("");
152
152
      /* Force read of table stats in the optimizer */
153
153
      table->cursor->info(HA_STATUS_VARIABLE);
154
154
      /* Add new temporary table to list of open derived tables */