#include <copy_info.h>
Public Attributes | |
ha_rows | records |
ha_rows | deleted |
ha_rows | updated |
ha_rows | copied |
ha_rows | error_count |
ha_rows | touched |
enum enum_duplicates | handle_duplicates |
int | escape_char |
int | last_errno |
bool | ignore |
List< Item > * | update_fields |
List< Item > * | update_values |
The COPY_INFO structure is used by INSERT/REPLACE code. The schema of the row counting by the INSERT/INSERT ... ON DUPLICATE KEY UPDATE code: If a row is inserted then the copied variable is incremented. If a row is updated by the INSERT ... ON DUPLICATE KEY UPDATE and the new data differs from the old one then the copied and the updated variables are incremented. The touched variable is incremented if a row was touched by the update part of the INSERT ... ON DUPLICATE KEY UPDATE no matter whether the row was actually changed or not.
Definition at line 40 of file copy_info.h.
ha_rows drizzled::CopyInfo::copied |
Number of copied records
Definition at line 46 of file copy_info.h.
Referenced by drizzled::insert_query().
ha_rows drizzled::CopyInfo::deleted |
Number of deleted records
Definition at line 44 of file copy_info.h.
Referenced by drizzled::insert_query().
ha_rows drizzled::CopyInfo::records |
Number of processed records
Definition at line 43 of file copy_info.h.
Referenced by drizzled::insert_query().
ha_rows drizzled::CopyInfo::updated |
Number of updated records
Definition at line 45 of file copy_info.h.
Referenced by drizzled::insert_query().