sources/mysql.php needs to be changed:

--- sources/mysql.php.orig      2007-12-03 15:04:48.000000000 +0100
+++ sources/mysql.php   2010-12-22 11:02:19.000000000 +0100
@@ -51,7 +51,7 @@
        public function refreshData()
        {
                // Questions
-               $sql = "SHOW STATUS LIKE 'QUESTIONS';";
+               $sql = "SHOW GLOBAL STATUS LIKE 'QUESTIONS';";
                $result = mysql_query($sql, $this->db);
                $data = mysql_fetch_row($result);
                $questions = $data[1];

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/417328

Title:
  "MySQL: questions per second" value is wrong

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to