Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
66ec1499
Commit
66ec1499
authored
Jan 09, 2008
by
Gábor Hojtsy
Browse files
#207868
by cwgordon7, webernet and myself: SQL status page was using wrong property names
parent
0a26c901
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/system/system.admin.inc
View file @
66ec1499
...
...
@@ -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>'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment