~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_derived.cc

  • Committer: Brian Aker
  • Date: 2009-11-12 16:13:04 UTC
  • mfrom: (1211.1.7 staging)
  • Revision ID: brian@gaz-20091112161304-opamiauv36fg0n6u
Rollup of Brian, Padraig, and Stewart patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
154
154
      orig_table_list->db= (char *)"";
155
155
      orig_table_list->db_length= 0;
156
156
      /* Force read of table stats in the optimizer */
157
 
      table->file->info(HA_STATUS_VARIABLE);
 
157
      table->cursor->info(HA_STATUS_VARIABLE);
158
158
      /* Add new temporary table to list of open derived tables */
159
159
      table->next= session->derived_tables;
160
160
      session->derived_tables= table;