~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/transaction_services.h

  • Committer: Stewart Smith
  • Date: 2011-02-10 01:03:48 UTC
  • mto: (2154.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2155.
  • Revision ID: stewart@flamingspork.com-20110210010348-5l0zh0akjahvx3vi
fix Session::tx_isolation to be getTxIsolation to follow coding style, but look weird

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>
 
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"
34
33
 
35
 
#include <drizzled/visibility.h>
 
34
#include "drizzled/visibility.h"
36
35
 
37
36
namespace drizzled
38
37
{
46
45
  class TransactionalStorageEngine;
47
46
}
48
47
 
49
 
class Session;
50
48
class NamedSavepoint;
51
49
class Field;
52
50
 
144
142
   * @param[in] identifier Identifier for the schema to drop
145
143
   */
146
144
  void dropSchema(Session::reference session,
147
 
                  identifier::Schema::const_reference identifier,
148
 
                  message::schema::const_reference schema);
 
145
                  identifier::Schema::const_reference identifier);
149
146
 
150
147
  /**
151
148
   * Creates an AlterSchema Statement GPB message and adds it
157
154
   * @param[in] new_schema New schema definition
158
155
   */
159
156
  void alterSchema(Session::reference session,
160
 
                   const message::Schema &old_schema,
 
157
                   const message::schema::shared_ptr &old_schema,
161
158
                   const message::Schema &new_schema);
162
159
 
163
160
  /**
180
177
   * @param[in] if_exists Did the user specify an IF EXISTS clause?
181
178
   */
182
179
  void dropTable(Session::reference session,
183
 
                 identifier::Table::const_reference identifier,
184
 
                 message::table::const_reference table,
 
180
                 const identifier::Table &table,
185
181
                 bool if_exists);
186
182
 
187
183
  /**