~linuxjedi/drizzle/trunk-bug-743902

« back to all changes in this revision

Viewing changes to drizzled/sql_derived.cc

  • Committer: Monty Taylor
  • Date: 2011-04-06 21:23:45 UTC
  • mfrom: (2268.1.4 build)
  • Revision ID: mordred@inaugust.com-20110406212345-a7w7nkcuq60ybi4z
Merge Monty: Windows Fixes
Merge Olaf: open_table refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
158
158
      /* Force read of table stats in the optimizer */
159
159
      table->cursor->info(HA_STATUS_VARIABLE);
160
160
      /* Add new temporary table to list of open derived tables */
161
 
      table->setNext(session->getDerivedTables());
162
 
      session->setDerivedTables(table);
 
161
      table->setNext(session->open_tables.getDerivedTables());
 
162
      session->open_tables.setDerivedTables(table);
163
163
    }
164
164
  }
165
165