~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to drizzled/diagnostics_area.h

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
#pragma once
21
21
 
22
 
namespace drizzled
23
 
{
 
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 {
24
28
 
25
29
/**
26
30
  Stores status of the currently executed statement.
74
78
  uint64_t last_insert_id() const;
75
79
  uint32_t total_warn_count() const;
76
80
 
 
81
  std::list<DRIZZLE_ERROR*> m_warn_list;
 
82
 
77
83
  Diagnostics_area() { reset_diagnostics_area(); }
78
84
 
79
85
private:
123
129
  enum_diagnostics_status m_status;
124
130
  /**
125
131
    @todo: the following Session members belong here:
126
 
    - warn_list, warn_count,
 
132
    - warn_count,
127
133
  */
128
134
};
129
135