~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/transaction_services.h

  • Committer: Lee Bieber
  • Date: 2011-01-25 17:15:03 UTC
  • mfrom: (1994.4.55 drizzle)
  • mto: This revision was merged to the branch mainline in revision 2115.
  • Revision ID: kalebral@gmail.com-20110125171503-zyx91pfdyyw9lty5
Merge Marisa - 684803: Need to update Drizzledump documentation with migration conversions / caveats
Merge Marisa - 686641: Need to document removal of multi-table update/delete from Drizzle

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#ifndef DRIZZLED_TRANSACTION_SERVICES_H
26
26
#define DRIZZLED_TRANSACTION_SERVICES_H
27
27
 
28
 
#include <drizzled/atomics.h>
29
 
#include <drizzled/message/transaction.pb.h>
30
 
#include <drizzled/identifier/table.h>
31
 
#include <drizzled/identifier/schema.h>
32
 
#include <drizzled/message/schema.h>
33
 
#include <drizzled/session.h>
34
 
 
35
 
#include <drizzled/visibility.h>
 
28
#include "drizzled/atomics.h"
 
29
#include "drizzled/message/transaction.pb.h"
 
30
#include "drizzled/identifier/table.h"
 
31
#include "drizzled/message/schema.h"
 
32
#include "drizzled/session.h"
36
33
 
37
34
namespace drizzled
38
35
{
46
43
  class TransactionalStorageEngine;
47
44
}
48
45
 
49
 
class Session;
50
46
class NamedSavepoint;
51
47
class Field;
52
48
 
54
50
 * This is a class which manages the XA transaction processing
55
51
 * in the server
56
52
 */
57
 
class DRIZZLED_API TransactionServices
 
53
class TransactionServices
58
54
{
59
55
public:
60
56
  static const size_t DEFAULT_RECORD_SIZE= 100;
144
140
   * @param[in] identifier Identifier for the schema to drop
145
141
   */
146
142
  void dropSchema(Session::reference session,
147
 
                  identifier::Schema::const_reference identifier,
148
 
                  message::schema::const_reference schema);
 
143
                  identifier::Schema::const_reference identifier);
149
144
 
150
145
  /**
151
146
   * Creates an AlterSchema Statement GPB message and adds it
157
152
   * @param[in] new_schema New schema definition
158
153
   */
159
154
  void alterSchema(Session::reference session,
160
 
                   const message::Schema &old_schema,
 
155
                   const message::schema::shared_ptr &old_schema,
161
156
                   const message::Schema &new_schema);
162
157
 
163
158
  /**
180
175
   * @param[in] if_exists Did the user specify an IF EXISTS clause?
181
176
   */
182
177
  void dropTable(Session::reference session,
183
 
                 identifier::Table::const_reference identifier,
184
 
                 message::table::const_reference table,
 
178
                 const identifier::Table &table,
185
179
                 bool if_exists);
186
180
 
187
181
  /**