~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/status_helper.cc

  • Committer: pcrews
  • Date: 2011-05-24 17:36:24 UTC
  • mfrom: (1099.4.232 drizzle)
  • Revision ID: pcrews@lucid32-20110524173624-mwr1bvq6fa1r01ao
Updated translations + 2011.05.18 tarball tag

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 "status_helper.h"
22
23
#include <boost/lexical_cast.hpp>
23
 
#include "status_helper.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
 
 
 
24
#include <drizzled/open_tables_state.h>
 
25
#include <drizzled/set_var.h>
 
26
#include <drizzled/drizzled.h>
 
27
#include <plugin/myisam/myisam.h>
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},