~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/replicator.cc

Merged in plugin-registration.  handlerton now == StorageEngine.

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 handlerton *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;