fixed #444017
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2001-08-04 Steve Alberty <alberty@neptunlabs.de>
|
||||||
|
* lib.inc.php3: fixed #444017 (thanks anonymous)
|
||||||
|
|
||||||
2001-08-04 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
2001-08-04 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
* config.inc.php3, db_details.php3, Documentation.html,
|
* config.inc.php3, db_details.php3, Documentation.html,
|
||||||
tbl_properties.php3: added two directives to disable the use of
|
tbl_properties.php3: added two directives to disable the use of
|
||||||
|
@@ -850,7 +850,7 @@ var errorMsg2 = '<?php echo(str_replace('\'', '\\\'', $GLOBALS['strNotValidNumbe
|
|||||||
echo ' <td></td>' . "\n";
|
echo ' <td></td>' . "\n";
|
||||||
echo ' <td></td>' . "\n";
|
echo ' <td></td>' . "\n";
|
||||||
}
|
}
|
||||||
if ($sql_query == 'SHOW PROCESSLIST') {
|
if(eregi("^[ \n\r]*show[ \n\r]*processlist[ \n\r]*$",$sql_query)) {
|
||||||
echo ' <td></td>' . "\n";
|
echo ' <td></td>' . "\n";
|
||||||
}
|
}
|
||||||
while ($field = mysql_fetch_field($dt_result)) {
|
while ($field = mysql_fetch_field($dt_result)) {
|
||||||
@@ -929,7 +929,8 @@ var errorMsg2 = '<?php echo(str_replace('\'', '\\\'', $GLOBALS['strNotValidNumbe
|
|||||||
$condition .= '= \'' . str_replace('\'', '\\\'', $row[$i]) . '\' AND';
|
$condition .= '= \'' . str_replace('\'', '\\\'', $row[$i]) . '\' AND';
|
||||||
}
|
}
|
||||||
if ($primary->numeric == 1) {
|
if ($primary->numeric == 1) {
|
||||||
if ($sql_query == 'SHOW PROCESSLIST') {
|
if(eregi("^[ \n\r]*show[ \n\r]*processlist[ \n\r]*$",$sql_query)) {
|
||||||
|
|
||||||
$Id = $row[$i];
|
$Id = $row[$i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -986,7 +987,7 @@ var errorMsg2 = '<?php echo(str_replace('\'', '\\\'', $GLOBALS['strNotValidNumbe
|
|||||||
echo "\n";
|
echo "\n";
|
||||||
} // end if
|
} // end if
|
||||||
|
|
||||||
if ($sql_query == 'SHOW PROCESSLIST') {
|
if(eregi("^[ \n\r]*show[ \n\r]*processlist[ \n\r]*$",$sql_query)) {
|
||||||
?>
|
?>
|
||||||
<td align="right">
|
<td align="right">
|
||||||
<a href="sql.php3?db=mysql&sql_query=<?php echo urlencode('KILL ' . $Id); ?>&goto=main.php3">
|
<a href="sql.php3?db=mysql&sql_query=<?php echo urlencode('KILL ' . $Id); ?>&goto=main.php3">
|
||||||
|
Reference in New Issue
Block a user