~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_derived.cc

  • Committer: Lee Bieber
  • Date: 2010-11-12 19:03:08 UTC
  • mfrom: (1923.1.4 trunk)
  • Revision ID: kalebral@gmail.com-20101112190308-lyejhhgpfaf9r8f3
Merge Brian - Encapsulate up the cache we use in Session for tracking table proto for temp tables.

Show diffs side-by-side

added added

removed removed

Lines of Context:
154
154
      /* Force read of table stats in the optimizer */
155
155
      table->cursor->info(HA_STATUS_VARIABLE);
156
156
      /* Add new temporary table to list of open derived tables */
157
 
      table->setNext(session->derived_tables);
158
 
      session->derived_tables= table;
 
157
      table->setNext(session->getDerivedTables());
 
158
      session->setDerivedTables(table);
159
159
    }
160
160
  }
161
161