~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_update.cc

  • Committer: Lee Bieber
  • Date: 2011-01-09 23:01:15 UTC
  • mfrom: (2062.4.1 trunk-bug-673833)
  • mto: This revision was merged to the branch mainline in revision 2068.
  • Revision ID: kalebral@gmail.com-20110109230115-dleqp2aecfjptbsi
Merge Andrews - fix bug 673833: Embedded SELECT inside UPDATE or DELETE can timeout without error

Show diffs side-by-side

added added

removed removed

Lines of Context:
206
206
    fix_inner_refs(session, all_fields, select_lex, select_lex->ref_pointer_array))
207
207
  {
208
208
    DRIZZLE_UPDATE_DONE(1, 0, 0);
209
 
    return -1;
 
209
    return 1;
210
210
  }
211
211
 
212
212
  if (conds)
246
246
     */
247
247
    session->main_da.reset_diagnostics_area();
248
248
    free_underlaid_joins(session, select_lex);
249
 
    if (error)
 
249
    if (error || session->is_error())
250
250
    {
251
251
      DRIZZLE_UPDATE_DONE(1, 0, 0);
252
252
      return 1;