~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_derived.cc

  • Committer: Mark Atwood
  • Date: 2011-08-11 03:05:03 UTC
  • mfrom: (2385.1.12 refactor4)
  • Revision ID: me@mark.atwood.name-20110811030503-rp9xjihc5x3y0x4q
mergeĀ lp:~olafvdspek/drizzle/refactor4

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()->getTableName(), table->getShare()->getTableNameSize());
 
149
      orig_table_list->setTableName(table->getShare()->getTableName());
150
150
      table->derived_select_number= first_select->select_number;
151
 
      orig_table_list->setSchemaName("", 0);
 
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 */