SOURCES: mysqlstat-mysql-5.0.2.patch (NEW) - from http://dev.mysql...

glen glen at pld-linux.org
Tue Nov 28 16:36:24 CET 2006


Author: glen                         Date: Tue Nov 28 15:36:24 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- from http://dev.mysql.com/doc/refman/5.0/en/show-status.html:
  Before MySQL 5.0.2, SHOW STATUS returned global status values. Because the
  default as of 5.0.2 is to return session values, this is incompatible with
  previous versions.

---- Files affected:
SOURCES:
   mysqlstat-mysql-5.0.2.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/mysqlstat-mysql-5.0.2.patch
diff -u /dev/null SOURCES/mysqlstat-mysql-5.0.2.patch:1.1
--- /dev/null	Tue Nov 28 16:36:24 2006
+++ SOURCES/mysqlstat-mysql-5.0.2.patch	Tue Nov 28 16:36:19 2006
@@ -0,0 +1,11 @@
+--- mysqlstat/libs/mysqlstat.pm.in~	2006-11-28 17:03:52.000000000 +0200
++++ mysqlstat/libs/mysqlstat.pm.in	2006-11-28 17:33:32.126871336 +0200
+@@ -454,7 +454,7 @@
+ 		return undef;
+   }
+ 
+-  my $q = $dbh->prepare('SHOW STATUS');
++  my $q = $dbh->prepare('SHOW /*!50002 GLOBAL */ STATUS;');
+ 
+   $q->execute() or return undef;
+ 
================================================================


More information about the pld-cvs-commit mailing list