List:Commits« Previous MessageNext Message »
From:Ignacio Galarza Date:May 22 2006 9:24pm
Subject:bk commit into 5.0 tree (iggy:1.2127) BUG#18669
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of iggy. When iggy does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2127 06/05/22 17:23:57 iggy@stripped +1 -0
  BUG#18669: Session COM_STATISTICS breaks mysqladmin status.
  
  Changed COM_STATISTICS to display the global server variables for slow queries and table opens.

  sql/sql_parse.cc
    1.544 06/05/22 17:23:52 iggy@stripped +2 -2
    Display global statistics as opposed to session statistics.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	iggy
# Host:	rolltop.ignatz42.dyndns.org
# Root:	/mnt/storeage/mysql-5.0-maint_bug18669

--- 1.543/sql/sql_parse.cc	2006-05-06 03:25:53 -04:00
+++ 1.544/sql/sql_parse.cc	2006-05-22 17:23:52 -04:00
@@ -1997,8 +1997,8 @@
 	    "Uptime: %lu  Threads: %d  Questions: %lu  Slow queries: %lu  Opens: %lu  Flush tables: %lu  Open tables: %u  Queries per second avg: %.3f",
 	    uptime,
 	    (int) thread_count, (ulong) thd->query_id,
-            (ulong) thd->status_var.long_query_count,
-	    thd->status_var.opened_tables, refresh_version, cached_tables(),
+	    global_status_var.long_query_count,
+	    global_status_var.opened_tables, refresh_version, cached_tables(),
 	    (uptime ? (ulonglong2double(thd->query_id) / (double) uptime) :
 	     (double) 0));
 #ifdef SAFEMALLOC
Thread
bk commit into 5.0 tree (iggy:1.2127) BUG#18669Ignacio Galarza22 May