~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/diagnostics_area.h

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
  bool can_overwrite_status;
49
49
 
50
50
  void set_ok_status(Session *session, ha_rows affected_rows_arg,
51
 
                     uint64_t last_insert_id_arg,
 
51
                     ha_rows found_rows_arg, uint64_t last_insert_id_arg,
52
52
                     const char *message);
53
53
  void set_eof_status(Session *session);
54
54
  void set_error_status(uint32_t sql_errno_arg, const char *message_arg);
68
68
  uint32_t sql_errno() const;
69
69
  uint32_t server_status() const;
70
70
  ha_rows affected_rows() const;
 
71
  ha_rows found_rows() const;
71
72
  uint64_t last_insert_id() const;
72
73
  uint32_t total_warn_count() const;
73
74
 
104
105
  */
105
106
  ha_rows m_affected_rows;
106
107
  /**
 
108
    This is like m_affected_rows, but contains the number of rows found, not
 
109
    only affected.
 
110
  */
 
111
  ha_rows m_found_rows;
 
112
  /**
107
113
    Similarly to the previous member, this is a replacement of
108
114
    session->first_successful_insert_id_in_prev_stmt, which is used
109
115
    to implement LAST_INSERT_ID().