~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/status_helper.cc

  • Committer: Muhammad Umair
  • Date: 2011-08-16 11:47:29 UTC
  • mto: This revision was merged to the branch mainline in revision 2402.
  • Revision ID: umair@remotedesk-20110816114729-w6x88fj0sow4g3z9
mergeĀ lp:~mumair/drizzle/drizzle-IPv6Address

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
 
 
 
24
#include <drizzled/open_tables_state.h>
 
25
#include <drizzled/set_var.h>
 
26
#include <drizzled/drizzled.h>
 
27
#include <plugin/myisam/myisam.h>
28
28
#include <sstream>
29
29
 
30
30
using namespace std;
31
31
 
32
 
namespace drizzled
33
 
{
 
32
namespace drizzled {
34
33
 
35
 
extern uint64_t refresh_version;
36
34
extern time_t server_start_time;
37
35
extern time_t flush_status_time;
38
36
 
139
137
  {"Connections",               (char*) &current_global_counters.connections,  SHOW_LONGLONG},
140
138
  {"Created_tmp_disk_tables",   (char*) offsetof(system_status_var, created_tmp_disk_tables), SHOW_LONGLONG_STATUS},
141
139
  {"Created_tmp_tables",        (char*) offsetof(system_status_var, created_tmp_tables), SHOW_LONGLONG_STATUS},
142
 
  {"Flush_commands",            (char*) &refresh_version,    SHOW_INT_NOFLUSH},
 
140
  {"Flush_commands",            (char*) &g_refresh_version, SHOW_INT_NOFLUSH},
143
141
  {"Handler_commit",            (char*) offsetof(system_status_var, ha_commit_count), SHOW_LONGLONG_STATUS},
144
142
  {"Handler_delete",            (char*) offsetof(system_status_var, ha_delete_count), SHOW_LONGLONG_STATUS},
145
143
  {"Handler_prepare",           (char*) offsetof(system_status_var, ha_prepare_count),  SHOW_LONGLONG_STATUS},