~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/rollback_to_savepoint.cc

  • Committer: Lee Bieber
  • Date: 2011-01-25 02:10:42 UTC
  • mfrom: (2109.1.4 build)
  • Revision ID: kalebral@gmail.com-20110125021042-ocqa0v509ae7fmtz
Need to add a "drop table a" in execute.wait test
Add execute test suite to regular test run
Merge Lee - fix second part of 705699, check for both client and server before building and testing rabbitmq plugin
Merge Shrews - Changes TransactionServices methods to use references to Session objects instead of pointers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
                     first_savepoint_name.size()) == 0)
89
89
    {
90
90
      /* Found the named savepoint we want to rollback to */
91
 
      (void) transaction_services.rollbackToSavepoint(getSession(), first_savepoint);
 
91
      (void) transaction_services.rollbackToSavepoint(*getSession(), first_savepoint);
92
92
 
93
93
      if (getSession()->transaction.all.hasModifiedNonTransData())
94
94
      {
126
126
      /* Found the named savepoint we want to rollback to */
127
127
      found= true;
128
128
 
129
 
      (void) transaction_services.rollbackToSavepoint(getSession(), sv);
 
129
      (void) transaction_services.rollbackToSavepoint(*getSession(), sv);
130
130
    }
131
131
    if (found)
132
132
    {