~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/xa_resource_manager.h

Merge in Joe's transaction id code.

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 getCurrentTransactionId(Session *session)
 
75
  {
 
76
    return doGetCurrentTransactionId(session);
 
77
  }
 
78
 
 
79
  uint64_t getNewTransactionId(Session *session)
 
80
  {
 
81
    return doGetNewTransactionId(session);
 
82
  }
 
83
 
74
84
  typedef ::boost::unordered_set<my_xid> commit_list_set;
75
85
  /** 
76
86
   * The below static class methods wrap the interaction
117
127
   *  for this engine.
118
128
   */
119
129
  virtual int doXaRecover(XID * append_to, size_t len)= 0;
 
130
 
 
131
  virtual uint64_t doGetCurrentTransactionId(Session *session)= 0;
 
132
 
 
133
  virtual uint64_t doGetNewTransactionId(Session *session)= 0;
120
134
};
121
135
 
122
136
} /* namespace plugin */