~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/status_helper.cc

  • Committer: Brian Aker
  • Date: 2011-04-11 05:54:41 UTC
  • mfrom: (2263.3.12 ot0)
  • Revision ID: brian@gir-3.local-20110411055441-z9w6zvybq019zyms
Merge in xtf

Show diffs side-by-side

added added

removed removed

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