~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/rollback_to_savepoint.cc

Style cleanup around TransactionContext::modified_non_trans_table and dead code removal

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
      /* Found the named savepoint we want to rollback to */
76
76
      (void) transaction_services.ha_rollback_to_savepoint(session, first_savepoint);
77
77
 
78
 
      if (session->transaction.all.modified_non_trans_table)
 
78
      if (session->transaction.all.hasModifiedNonTransData())
79
79
      {
80
80
        push_warning(session, 
81
81
                     DRIZZLE_ERROR::WARN_LEVEL_WARN,
126
126
  }
127
127
  if (found)
128
128
  {
129
 
    if (session->transaction.all.modified_non_trans_table)
 
129
    if (session->transaction.all.hasModifiedNonTransData())
130
130
    {
131
131
      push_warning(session, 
132
132
                   DRIZZLE_ERROR::WARN_LEVEL_WARN,