~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/savepoint.cc

  • Committer: Olaf van der Spek
  • Date: 2011-03-10 10:44:18 UTC
  • mto: This revision was merged to the branch mainline in revision 2233.
  • Revision ID: olafvdspek@gmail.com-20110310104418-9nye3afuge7hnf5g
Statement::session()

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(session(), sv);
85
85
      savepoints.erase(iter);
86
86
    }
87
87
    
88
88
    NamedSavepoint newsv(lex().ident.str, lex().ident.length);
89
89
 
90
 
    if (transaction_services.setSavepoint(*getSession(), newsv))
 
90
    if (transaction_services.setSavepoint(session(), newsv))
91
91
    {
92
92
      return true;
93
93
    }