~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

  • Committer: Brian Aker
  • Date: 2010-11-11 23:25:35 UTC
  • mto: This revision was merged to the branch mainline in revision 1927.
  • Revision ID: brian@tangent.org-20101111232535-13dtcuj2pv0mbtvv
Encapsulate derived tables

Show diffs side-by-side

added added

removed removed

Lines of Context:
1844
1844
*/
1845
1845
void Session::close_thread_tables()
1846
1846
{
1847
 
  if (derived_tables)
1848
 
    derived_tables= NULL; // They should all be invalid by this point
 
1847
  clearDerivedTables();
1849
1848
 
1850
1849
  /*
1851
1850
    Mark all temporary tables used by this statement as free for reuse.