~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.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:
738
738
      break;
739
739
 
740
740
    /* The ALTER Table is always in its own transaction */
741
 
    error= transaction_services.autocommitOrRollback(session, false);
 
741
    error= transaction_services.autocommitOrRollback(*session, false);
742
742
    if (not session->endActiveTransaction())
743
743
      error= 1;
744
744
 
749
749
 
750
750
  } while(0);
751
751
 
752
 
  (void) transaction_services.autocommitOrRollback(session, error);
 
752
  (void) transaction_services.autocommitOrRollback(*session, error);
753
753
  session->tablespace_op=false;
754
754
 
755
755
  if (error == 0)
1636
1636
      Ensure that the new table is saved properly to disk so that we
1637
1637
      can do a rename
1638
1638
    */
1639
 
    if (transaction_services.autocommitOrRollback(session, false))
 
1639
    if (transaction_services.autocommitOrRollback(*session, false))
1640
1640
      error= 1;
1641
1641
 
1642
1642
    if (not session->endActiveTransaction())