Display executed SQL.
This commit is contained in:
@@ -40,7 +40,8 @@ echo '<h2>' . "\n"
|
||||
* Sends the query and buffers the result
|
||||
*/
|
||||
$serverProcesses = array();
|
||||
$res = PMA_DBI_query('SHOW' . (empty($full) ? '' : ' FULL') . ' PROCESSLIST;');
|
||||
$sql_query = 'SHOW' . (empty($full) ? '' : ' FULL') . ' PROCESSLIST';
|
||||
$res = PMA_DBI_query($sql_query);
|
||||
while ($row = PMA_DBI_fetch_assoc($res)) {
|
||||
$serverProcesses[] = $row;
|
||||
}
|
||||
@@ -48,6 +49,8 @@ while ($row = PMA_DBI_fetch_assoc($res)) {
|
||||
unset($res);
|
||||
unset($row);
|
||||
|
||||
PMA_showMessage($GLOBALS['strSQLQuery']);
|
||||
|
||||
|
||||
/**
|
||||
* Displays the page
|
||||
|
Reference in New Issue
Block a user