~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/transaction_services.cc

OK, Sun Studio still didn't like that...seems to think that inline means something different than other compilers think it is...

Show diffs side-by-side

added added

removed removed

Lines of Context:
297
297
 * transaction after all DDLs, just like the statement transaction
298
298
 * is always committed at the end of all statements.
299
299
 */
300
 
inline bool TransactionServices::shouldConstructMessages()
301
 
{
302
 
  ReplicationServices &replication_services= ReplicationServices::singleton();
303
 
  return replication_services.isActive();
304
 
}
305
 
 
306
300
void TransactionServices::registerResourceForStatement(Session *session,
307
301
                                                       plugin::MonitoredInTransaction *monitored,
308
302
                                                       plugin::TransactionalStorageEngine *engine)
888
882
  return error;
889
883
}
890
884
 
 
885
bool TransactionServices::shouldConstructMessages()
 
886
{
 
887
  ReplicationServices &replication_services= ReplicationServices::singleton();
 
888
  return replication_services.isActive();
 
889
}
 
890
 
891
891
message::Transaction *TransactionServices::getActiveTransactionMessage(Session *in_session)
892
892
{
893
893
  message::Transaction *transaction= in_session->getTransactionMessage();