~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/diagnostics_area.h

  • Committer: Brian Aker
  • Date: 2010-12-19 06:20:54 UTC
  • mfrom: (2005.1.1 bug673105)
  • Revision ID: brian@tangent.org-20101219062054-1kt0l3dxs4z2z8md
Merge Dave.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
                     ha_rows found_rows_arg, uint64_t last_insert_id_arg,
55
55
                     const char *message);
56
56
  void set_eof_status(Session *session);
57
 
  void set_error_status(drizzled::error_t sql_errno_arg, const char *message_arg);
 
57
  void set_error_status(uint32_t sql_errno_arg, const char *message_arg);
58
58
 
59
59
  void disable_status();
60
60
 
68
68
  enum_diagnostics_status status() const { return m_status; }
69
69
 
70
70
  const char *message() const;
71
 
  drizzled::error_t sql_errno() const;
 
71
  uint32_t sql_errno() const;
72
72
  uint32_t server_status() const;
73
73
  ha_rows affected_rows() const;
74
74
  ha_rows found_rows() const;
84
84
    SQL error number. One of ER_ codes from share/errmsg.txt.
85
85
    Set by set_error_status.
86
86
  */
87
 
  drizzled::error_t m_sql_errno;
 
87
  uint32_t m_sql_errno;
88
88
 
89
89
  /**
90
90
    Copied from session->server_status when the diagnostics area is assigned.
95
95
    Assigned by OK, EOF or ERROR.
96
96
  */
97
97
  uint32_t m_server_status;
98
 
 
99
98
  /**
100
99
    The number of rows affected by the last statement. This is
101
100
    semantically close to session->row_count_func, but has a different