~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

  • Committer: Brian Aker
  • Date: 2009-12-05 01:45:30 UTC
  • mto: (1238.1.1 push)
  • mto: This revision was merged to the branch mainline in revision 1239.
  • Revision ID: brian@gaz-20091205014530-an4p0l07anlxudnz
Adding patch for engine methods for definition files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1866
1866
*/
1867
1867
 
1868
1868
void Session::close_temporary_table(Table *table)
1869
 
                         
1870
1869
{
1871
1870
  if (table->prev)
1872
1871
  {
1908
1907
  rm_temporary_table(table_type, table->s->path.str);
1909
1908
 
1910
1909
  table->s->free_table_share();
 
1910
 
1911
1911
  /* This makes me sad, but we're allocating it via malloc */
1912
1912
  free(table);
1913
1913
}
2126
2126
 
2127
2127
  assert(base);
2128
2128
 
2129
 
  if (delete_table_proto_file(identifier.getPath()))
 
2129
  if (plugin::StorageEngine::deleteDefinitionFromPath(identifier))
2130
2130
    error= true;
2131
2131
 
2132
2132
  if (base->doDropTable(*this, identifier.getPath()))
2155
2155
  }
2156
2156
  return error;
2157
2157
}
2158
 
 
2159