~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/status_helper.cc

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#include <config.h>
 
21
#include "config.h"
 
22
#include <boost/lexical_cast.hpp>
22
23
#include "status_helper.h"
23
 
#include <boost/lexical_cast.hpp>
24
 
#include <drizzled/open_tables_state.h>
25
 
#include <drizzled/set_var.h>
26
 
#include <drizzled/drizzled.h>
27
 
#include <plugin/myisam/myisam.h>
 
24
#include "drizzled/set_var.h"
 
25
#include "drizzled/drizzled.h"
 
26
#include "plugin/myisam/myisam.h"
 
27
 
 
28
#include <drizzled/refresh_version.h>
 
29
 
28
30
#include <sstream>
29
31
 
30
32
using namespace std;
31
33
 
32
 
namespace drizzled {
 
34
namespace drizzled
 
35
{
33
36
 
34
37
extern time_t server_start_time;
35
38
extern time_t flush_status_time;
137
140
  {"Connections",               (char*) &current_global_counters.connections,  SHOW_LONGLONG},
138
141
  {"Created_tmp_disk_tables",   (char*) offsetof(system_status_var, created_tmp_disk_tables), SHOW_LONGLONG_STATUS},
139
142
  {"Created_tmp_tables",        (char*) offsetof(system_status_var, created_tmp_tables), SHOW_LONGLONG_STATUS},
140
 
  {"Flush_commands",            (char*) &g_refresh_version, SHOW_INT_NOFLUSH},
 
143
  {"Flush_commands",            (char*) &refresh_version,    SHOW_INT_NOFLUSH},
141
144
  {"Handler_commit",            (char*) offsetof(system_status_var, ha_commit_count), SHOW_LONGLONG_STATUS},
142
145
  {"Handler_delete",            (char*) offsetof(system_status_var, ha_delete_count), SHOW_LONGLONG_STATUS},
143
146
  {"Handler_prepare",           (char*) offsetof(system_status_var, ha_prepare_count),  SHOW_LONGLONG_STATUS},