~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/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:
81
81
    if (iter != savepoints.end())
82
82
    {
83
83
      NamedSavepoint &sv= *iter;
84
 
      (void) transaction_services.releaseSavepoint(getSession(), sv);
 
84
      (void) transaction_services.releaseSavepoint(*getSession(), sv);
85
85
      savepoints.erase(iter);
86
86
    }
87
87
    
88
88
    NamedSavepoint newsv(getSession()->lex->ident.str, getSession()->lex->ident.length);
89
89
 
90
 
    if (transaction_services.setSavepoint(getSession(), newsv))
 
90
    if (transaction_services.setSavepoint(*getSession(), newsv))
91
91
    {
92
92
      return true;
93
93
    }