~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_update.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-09-17 00:08:20 UTC
  • mto: (1126.9.3 captain-20090915-01)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: osullivan.padraig@gmail.com-20090917000820-urd6p46qngi1okjp
Updated calls to some dtrace probes to cast the parameter to const char *
appropriately. Also, removed the additional variable in places that I was
using.

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
  uint64_t     id;
139
139
  List<Item> all_fields;
140
140
  Session::killed_state killed_status= Session::NOT_KILLED;
141
 
  int res= 0;
142
141
 
143
142
  DRIZZLE_UPDATE_START(session->query);
144
143
  if (session->openTablesLock(table_list))
641
640
  }
642
641
  session->count_cuted_fields= CHECK_FIELD_IGNORE;              /* calc cuted fields */
643
642
  session->abort_on_warning= 0;
644
 
  res= (error >= 0 || session->is_error()) ? 1 : 0;
645
 
  DRIZZLE_UPDATE_DONE(res, found, updated);
 
643
  DRIZZLE_UPDATE_DONE((error >= 0 || session->is_error()), found, updated);
646
644
  return ((error >= 0 || session->is_error()) ? 1 : 0);
647
645
 
648
646
err: