~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_update.cc

Merging Eric's refactoring and cleanup of Listen and Protocol

Show diffs side-by-side

added added

removed removed

Lines of Context:
633
633
    char buff[STRING_BUFFER_USUAL_SIZE];
634
634
    sprintf(buff, ER(ER_UPDATE_INFO), (ulong) found, (ulong) updated,
635
635
            (ulong) session->cuted_fields);
636
 
    session->row_count_func=
637
 
      (session->client_capabilities & CLIENT_FOUND_ROWS) ? found : updated;
638
 
    session->my_ok((ulong) session->row_count_func, id, buff);
 
636
    session->row_count_func= updated;
 
637
    session->my_ok((ulong) session->row_count_func, found, id, buff);
639
638
  }
640
639
  session->count_cuted_fields= CHECK_FIELD_IGNORE;              /* calc cuted fields */
641
640
  session->abort_on_warning= 0;