~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-21 01:59:17 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-20101021015917-snhgopy82x1fwcch
rework names for retrieving current trans id

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);
 
74
  uint64_t getCurrentTransactionId(Session *session)
 
75
  {
 
76
    return doGetCurrentTransactionId(session);
 
77
  }
 
78
 
 
79
  uint64_t getNewTransactionId(Session *session)
 
80
  {
 
81
    return doGetNewTransactionId(session);
77
82
  }
78
83
 
79
84
  typedef ::boost::unordered_set<my_xid> commit_list_set;
123
128
   */
124
129
  virtual int doXaRecover(XID * append_to, size_t len)= 0;
125
130
 
126
 
  virtual uint64_t doGetTransactionId(Session *session)= 0;
 
131
  virtual uint64_t doGetCurrentTransactionId(Session *session)= 0;
 
132
 
 
133
  virtual uint64_t doGetNewTransactionId(Session *session)= 0;
127
134
};
128
135
 
129
136
} /* namespace plugin */