~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to drizzled/plugin/xa_resource_manager.h

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLED_PLUGIN_XA_RESOURCE_MANAGER_H
22
22
#define DRIZZLED_PLUGIN_XA_RESOURCE_MANAGER_H
23
23
 
 
24
#include <boost/unordered_set.hpp>
 
25
 
24
26
namespace drizzled
25
27
{
26
28
 
69
71
    return doXaRecover(append_to, len);
70
72
  }
71
73
 
 
74
  typedef ::boost::unordered_set<my_xid> commit_list_set;
72
75
  /** 
73
76
   * The below static class methods wrap the interaction
74
77
   * of the vector of registered XA storage engines.
75
78
   */
76
79
  static int commitOrRollbackXID(XID *xid, bool commit);
77
 
  static int recoverAllXids(HASH *commit_list);
 
80
  static int recoverAllXids();
 
81
  static int recoverAllXids(const commit_list_set& commit_list);
78
82
 
79
83
  /* Class Methods for operating on plugin */
80
84
  static bool addPlugin(plugin::XaResourceManager *manager);