~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_update.cc

Merged Eric from lp:~eday/drizzle/eday-merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
650
650
    char buff[STRING_BUFFER_USUAL_SIZE];
651
651
    sprintf(buff, ER(ER_UPDATE_INFO), (ulong) found, (ulong) updated,
652
652
            (ulong) session->cuted_fields);
653
 
    session->row_count_func=
654
 
      (session->client_capabilities & CLIENT_FOUND_ROWS) ? found : updated;
655
 
    session->my_ok((ulong) session->row_count_func, id, buff);
 
653
    session->row_count_func= updated;
 
654
    session->my_ok((ulong) session->row_count_func, found, id, buff);
656
655
  }
657
656
  session->count_cuted_fields= CHECK_FIELD_IGNORE;              /* calc cuted fields */
658
657
  session->abort_on_warning= 0;