~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_delete.cc

  • Committer: Grant Limberg
  • Date: 2008-08-12 21:13:01 UTC
  • mto: (322.1.1 codestyle)
  • mto: This revision was merged to the branch mainline in revision 324.
  • Revision ID: grant@glsoftware.net-20080812211301-ym3wsowelkgp16s2
renamed all instances of MYSQL_ to DRIZZLE_

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
    delete select;
164
164
    free_underlaid_joins(thd, select_lex);
165
165
    thd->row_count_func= 0;
166
 
    MYSQL_DELETE_END();
 
166
    DRIZZLE_DELETE_END();
167
167
    my_ok(thd, (ha_rows) thd->row_count_func);
168
168
    /*
169
169
      We don't need to call reset_auto_increment in this case, because
341
341
  assert(transactional_table || !deleted || thd->transaction.stmt.modified_non_trans_table);
342
342
  free_underlaid_joins(thd, select_lex);
343
343
 
344
 
  MYSQL_DELETE_END();
 
344
  DRIZZLE_DELETE_END();
345
345
  if (error < 0 || (thd->lex->ignore && !thd->is_fatal_error))
346
346
  {
347
347
    thd->row_count_func= deleted;
350
350
  return(error >= 0 || thd->is_error());
351
351
 
352
352
err:
353
 
  MYSQL_DELETE_END();
 
353
  DRIZZLE_DELETE_END();
354
354
  return(true);
355
355
}
356
356