Drizzled Public API Documentation

drizzled::CopyInfo Class Reference

#include <copy_info.h>

List of all members.

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

Detailed Description

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 43 of file copy_info.h.


Member Data Documentation

Number of copied records

Definition at line 49 of file copy_info.h.

Referenced by drizzled::insert_query().

Number of deleted records

Definition at line 47 of file copy_info.h.

Referenced by drizzled::insert_query().

Number of processed records

Definition at line 46 of file copy_info.h.

Referenced by drizzled::insert_query().

Number of updated records

Definition at line 48 of file copy_info.h.

Referenced by drizzled::insert_query().


The documentation for this class was generated from the following file: