~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_delete.cc

  • Committer: Lee Bieber
  • Date: 2011-01-09 23:23:37 UTC
  • mfrom: (2067.1.2 build)
  • Revision ID: kalebral@gmail.com-20110109232337-bobns3ndxf1qerfw
Merge Andrews - fix bug 673833: Embedded SELECT inside UPDATE or DELETE can timeout without error
Merge Andrews - fix bug 700099: serveral issues with InnoDB settings

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
    delete select;
174
174
    free_underlaid_joins(session, select_lex);
175
175
    session->row_count_func= 0;
 
176
    if (session->is_error())
 
177
      return true;
176
178
    DRIZZLE_DELETE_DONE(0, 0);
177
179
    /**
178
180
     * Resetting the Diagnostic area to prevent
390
392
 
391
393
  if (select_lex->inner_refs_list.elements &&
392
394
    fix_inner_refs(session, all_fields, select_lex, select_lex->ref_pointer_array))
393
 
    return(-1);
 
395
    return(true);
394
396
 
395
397
  return(false);
396
398
}