Feature #707495
This commit is contained in:
@@ -8,6 +8,8 @@ $Source$
|
||||
2003-03-25 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||
* server_privileges.php3, lang/*.inc.php3: Fixed bug #708292 (Support for
|
||||
host-based privileges).
|
||||
* server_processlist.php3, lang/*.inc.php3: Feature #707495
|
||||
(SHOW FULL PROCESSLIST).
|
||||
|
||||
2003-03-27 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* sql.php3: avoid long delays when browsing big tables (MySQL 4)
|
||||
|
@@ -40,7 +40,8 @@ echo '<h2>' . "\n"
|
||||
* Sends the query and buffers the result
|
||||
*/
|
||||
$serverProcesses = array();
|
||||
$res = @PMA_mysql_query('SHOW PROCESSLIST;', $userlink) or PMA_mysqlDie(PMA_mysql_error($userlink), 'SHOW PROCESSLIST;');
|
||||
$sql_query = 'SHOW' . (empty($full) ? '' : ' FULL') . ' PROCESSLIST;';
|
||||
$res = @PMA_mysql_query($sql_query, $userlink) or PMA_mysqlDie(PMA_mysql_error($userlink), $sql_query);
|
||||
while ($row = PMA_mysql_fetch_array($res, MYSQL_ASSOC)) {
|
||||
$serverProcesses[] = $row;
|
||||
}
|
||||
@@ -55,7 +56,7 @@ unset($row);
|
||||
?>
|
||||
<table border="0">
|
||||
<tr>
|
||||
<th></th>
|
||||
<th><?php echo PMA_MYSQL_INT_VERSION < 32307 ? '' : '<a href="./server_processlist.php3?'. $url_query . (empty($full) ? '&full=1' : '') . '" title="' . (empty($full) ? $strShowFullQueries : $strTruncateQueries) . '"><img src="./images/' . (empty($full) ? 'full' : 'partial') . 'text.png" width="50" height="20" border="0" alt="' . (empty($full) ? $strShowFullQueries : $strTruncateQueries) . '" /></a>'; ?></th>
|
||||
<th> <?php echo $strId; ?> </th>
|
||||
<th> <?php echo $strUser; ?> </th>
|
||||
<th> <?php echo $strHost; ?> </th>
|
||||
@@ -95,4 +96,4 @@ while (list($name, $value) = each($serverProcesses)) {
|
||||
*/
|
||||
require('./footer.inc.php3');
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user