~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/replicator.cc

  • Committer: Monty Taylor
  • Date: 2009-03-24 18:05:25 UTC
  • mto: (960.5.2 mordred)
  • mto: This revision was merged to the branch mainline in revision 964.
  • Revision ID: mordred@inaugust.com-20090324180525-ok5metxsa5yor53k
First step of hton rename.

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
/*
92
92
  This call is called once at the begining of each transaction.
93
93
*/
94
 
extern StorageEngine *binlog_hton;
 
94
extern StorageEngine *binlog_engine;
95
95
bool replicator_session_init(Session *session)
96
96
{
97
97
  bool foreach_rv;
98
98
 
99
99
  if (session->options & (OPTION_NOT_AUTOCOMMIT | OPTION_BEGIN))
100
 
    trans_register_ha(session, true, binlog_hton);
101
 
  trans_register_ha(session, false, binlog_hton);
 
100
    trans_register_ha(session, true, binlog_engine);
 
101
  trans_register_ha(session, false, binlog_engine);
102
102
 
103
103
  if (session->getReplicationData())
104
104
    return false;