~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/xa_resource_manager.h

  • Committer: Joseph Daly
  • Date: 2010-10-18 03:10:56 UTC
  • mto: (1856.2.16 transaction_id_innodb)
  • mto: This revision was merged to the branch mainline in revision 1900.
  • Revision ID: skinny.moey@gmail.com-20101018031056-nfbsjmibqovhedez
use transaction_id in innodb for transaction log

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
    return doXaRecover(append_to, len);
72
72
  }
73
73
 
 
74
  uint64_t getTransactionId(Session *session)
 
75
  {
 
76
    return doGetTransactionId(session);
 
77
  }
 
78
 
74
79
  typedef ::boost::unordered_set<my_xid> commit_list_set;
75
80
  /** 
76
81
   * The below static class methods wrap the interaction
117
122
   *  for this engine.
118
123
   */
119
124
  virtual int doXaRecover(XID * append_to, size_t len)= 0;
 
125
 
 
126
  virtual uint64_t doGetTransactionId(Session *session)= 0;
120
127
};
121
128
 
122
129
} /* namespace plugin */