~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.cc

  • Committer: Brian Aker
  • Date: 2010-03-01 17:04:10 UTC
  • mfrom: (1309.1.23 build)
  • Revision ID: brian@gaz-20100301170410-ph8eb1hdf9rqks51
Merge up build to staging.

Show diffs side-by-side

added added

removed removed

Lines of Context:
285
285
           StorageEngineCloseConnection(session));
286
286
}
287
287
 
288
 
void StorageEngine::dropDatabase(char* path)
289
 
{
290
 
  for_each(vector_of_engines.begin(), vector_of_engines.end(),
291
 
           bind2nd(mem_fun(&StorageEngine::drop_database),path));
292
 
}
293
 
 
294
288
bool StorageEngine::flushLogs(StorageEngine *engine)
295
289
{
296
290
  if (engine == NULL)
774
768
 
775
769
  result_type operator() (argument_type engine)
776
770
  {
777
 
    // @todo eomeday check that at least one engine said "true"
 
771
    // @todo someday check that at least one engine said "true"
778
772
    bool success= engine->doDropSchema(schema_name);
779
773
 
780
774
    if (success)