~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/xa_resource_manager.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-24 15:25:06 UTC
  • mto: This revision was merged to the branch mainline in revision 2349.
  • Revision ID: olafvdspek@gmail.com-20110624152506-zivk37gp51e9w84u
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
  if (!trans_list)
173
173
  {
174
174
    errmsg_printf(error::ERROR, ER(ER_OUTOFMEMORY), trans_len*sizeof(XID));
175
 
    return(1);
 
175
    return 1;
176
176
  }
177
177
 
178
178
  if (commit_list.size())
199
199
                    "drizzled with the --tc-heuristic-recover switch to "
200
200
                    "commit or rollback pending transactions."),
201
201
                    recover_func.getMyXIDs(), opt_tc_log_file);
202
 
    return(1);
 
202
    return 1;
203
203
  }
204
204
 
205
205
  if (commit_list.size())