~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/xa_resource_manager.h

  • Committer: Brian Aker
  • Date: 2010-09-11 01:35:47 UTC
  • mto: (1759.2.1 build)
  • mto: This revision was merged to the branch mainline in revision 1762.
  • Revision ID: brian@tangent.org-20100911013547-b04k7f1qddr3ml4t
Shuffle native functions over to hash such that we have a specific container
for them.

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);