~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/status_helper.cc

  • Committer: LinuxJedi
  • Date: 2010-08-21 21:31:59 UTC
  • mto: (1750.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1751.
  • Revision ID: linuxjedi@linuxjedi-laptop-20100821213159-g9kiyzog436l4oxt
Add a proper connections counter.

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
  {"Aborted_connects",          (char*) offsetof(system_status_var, aborted_connects), SHOW_LONGLONG_STATUS},
135
135
  {"Bytes_received",            (char*) offsetof(system_status_var, bytes_received), SHOW_LONGLONG_STATUS},
136
136
  {"Bytes_sent",                (char*) offsetof(system_status_var, bytes_sent), SHOW_LONGLONG_STATUS},
137
 
  {"Connections",               (char*) &global_thread_id, SHOW_INT_NOFLUSH},
 
137
  {"Connections",               (char*) &current_global_counters.connections,  SHOW_LONGLONG},
138
138
  {"Created_tmp_disk_tables",   (char*) offsetof(system_status_var, created_tmp_disk_tables), SHOW_LONGLONG_STATUS},
139
139
  {"Created_tmp_tables",        (char*) offsetof(system_status_var, created_tmp_tables), SHOW_LONGLONG_STATUS},
140
140
  {"Flush_commands",            (char*) &refresh_version,    SHOW_INT_NOFLUSH},