~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/transaction_services.cc

  • Committer: Lee Bieber
  • Date: 2011-04-18 21:48:09 UTC
  • mfrom: (2280.2.3 build)
  • Revision ID: kalebral@gmail.com-20110418214809-dsdfrc8f90a9p2x1
Merge Olaf - code refactor and pruning dead functions

Show diffs side-by-side

added added

removed removed

Lines of Context:
305
305
 */
306
306
TransactionServices::TransactionServices()
307
307
{
308
 
  plugin::StorageEngine *engine= plugin::StorageEngine::findByName("InnoDB");
309
 
  if (engine)
310
 
  {
311
 
    xa_storage_engine= (plugin::XaStorageEngine*)engine; 
312
 
  }
313
 
  else 
314
 
  {
315
 
    xa_storage_engine= NULL;
316
 
  }
 
308
  xa_storage_engine= static_cast<plugin::XaStorageEngine*>(plugin::StorageEngine::findByName("InnoDB"));
317
309
}
318
310
 
319
311
void TransactionServices::registerResourceForStatement(Session& session,