Index: modules/system/system.admin.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.admin.inc,v
retrieving revision 1.52
diff -u -p -r1.52 system.admin.inc
--- modules/system/system.admin.inc	8 Jan 2008 21:25:05 -0000	1.52
+++ modules/system/system.admin.inc	9 Jan 2008 10:10:38 -0000
@@ -1767,13 +1767,15 @@ function _system_sql($data, $keys) {
 }
 
 /**
- * Menu callback: return information about PHP.
+ * Menu callback: return information about the database.
  */
 function system_sql() {
 
   $result = db_query("SHOW STATUS");
   while ($entry = db_fetch_object($result)) {
-    $data[$entry->variable_name] = $entry->value;
+    // 'SHOW STATUS' returns fields named 'Variable_name' and 'Value',
+    // case is important.
+    $data[$entry->Variable_name] = $entry->Value;
   }
 
   $output  = '<h2>'. t('Command counters') .'</h2>';
