~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/transaction_services.h

  • Committer: Brian Aker
  • Date: 2011-01-14 02:43:41 UTC
  • mfrom: (2081.1.3 drizzle)
  • Revision ID: brian@gir-3-20110114024341-3w2x5umqw8vtohu5
Rollup changes for trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include "drizzled/atomics.h"
29
29
#include "drizzled/message/transaction.pb.h"
30
30
#include "drizzled/identifier/table.h"
 
31
#include "drizzled/message/schema.h"
31
32
 
32
33
namespace drizzled
33
34
{
304
305
  void dropSchema(Session *in_session, SchemaIdentifier::const_reference identifier);
305
306
 
306
307
  /**
 
308
   * Creates an AlterSchema Statement GPB message and adds it
 
309
   * to the Session's active Transaction GPB message for pushing
 
310
   * out to the replicator streams.
 
311
   *
 
312
   * @param[in] in_session Pointer to the Session which issued the statement
 
313
   * @param[in] old_schema Original schema definition
 
314
   * @param[in] new_schema New schema definition
 
315
   */
 
316
  void alterSchema(Session *in_session,
 
317
                   const message::schema::shared_ptr &old_schema,
 
318
                   const message::Schema &new_schema);
 
319
 
 
320
  /**
307
321
   * Creates a CreateTable Statement GPB message and adds it
308
322
   * to the Session's active Transaction GPB message for pushing
309
323
   * out to the replicator streams.