~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_derived.cc

  • Committer: Brian Aker
  • Date: 2009-11-11 21:40:59 UTC
  • mfrom: (1208.3.3 reference)
  • mto: This revision was merged to the branch mainline in revision 1212.
  • Revision ID: brian@gaz-20091111214059-0xfxkwrrixpx2jd9
Update for cursor name change.

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;