~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/diagnostics_area.h

  • Committer: Brian Aker
  • Date: 2011-02-12 08:10:17 UTC
  • mto: This revision was merged to the branch mainline in revision 2161.
  • Revision ID: brian@tangent.org-20110212081017-7793i41ybt7gp5ty
More removal of session from includes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#pragma once
21
 
 
22
 
#include <drizzled/base.h>
23
 
#include <drizzled/error_t.h>
24
 
#include <drizzled/sql_error.h>
25
 
#include <drizzled/sql_list.h>
26
 
 
27
 
namespace drizzled {
 
20
#ifndef DRIZZLED_DIAGNOSTICS_AREA_H
 
21
#define DRIZZLED_DIAGNOSTICS_AREA_H
 
22
 
 
23
namespace drizzled
 
24
{
28
25
 
29
26
/**
30
27
  Stores status of the currently executed statement.
78
75
  uint64_t last_insert_id() const;
79
76
  uint32_t total_warn_count() const;
80
77
 
81
 
  List<DRIZZLE_ERROR> m_warn_list;
82
 
 
83
78
  Diagnostics_area() { reset_diagnostics_area(); }
84
79
 
85
80
private:
129
124
  enum_diagnostics_status m_status;
130
125
  /**
131
126
    @todo: the following Session members belong here:
132
 
    - warn_count,
 
127
    - warn_list, warn_count,
133
128
  */
134
129
};
135
130
 
136
131
} /* namespace drizzled */
137
132
 
 
133
#endif /* DRIZZLED_DIAGNOSTICS_AREA_H */