~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.cc

  • Committer: Olaf van der Spek
  • Date: 2011-04-05 12:26:58 UTC
  • mto: (2278.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2272.
  • Revision ID: olafvdspek@gmail.com-20110405122658-xxrvmobwwwwf3oct
Refactor Open_tables_state

Show diffs side-by-side

added added

removed removed

Lines of Context:
632
632
  @retval -1  the table is in use by a outer query
633
633
*/
634
634
 
635
 
int Open_tables_state::drop_temporary_table(const drizzled::identifier::Table &identifier)
 
635
int Session::drop_temporary_table(const drizzled::identifier::Table &identifier)
636
636
{
637
637
  Table *table;
638
638
 
722
722
{
723
723
  if (table->getShare()->getType())
724
724
  {
725
 
    open_tables.close_temporary_table(table);
 
725
    close_temporary_table(table);
726
726
  }
727
727
  else
728
728
  {