Display executed SQL.
This commit is contained in:
@@ -15,6 +15,7 @@ $Source$
|
|||||||
* db_details_qbe.php: Backquote table name.
|
* db_details_qbe.php: Backquote table name.
|
||||||
* libraries/display_tbl.lib.php: Comments now work for multi table selects
|
* libraries/display_tbl.lib.php: Comments now work for multi table selects
|
||||||
(bug #789647).
|
(bug #789647).
|
||||||
|
* server_processlist.php: Display executed SQL.
|
||||||
|
|
||||||
2004-10-19 Marc Delisle <lem9@users.sourceforge.net>
|
2004-10-19 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* libraries/database_interface.lib.php: bug #1041667, correctly
|
* libraries/database_interface.lib.php: bug #1041667, correctly
|
||||||
|
@@ -40,7 +40,8 @@ echo '<h2>' . "\n"
|
|||||||
* Sends the query and buffers the result
|
* Sends the query and buffers the result
|
||||||
*/
|
*/
|
||||||
$serverProcesses = array();
|
$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)) {
|
while ($row = PMA_DBI_fetch_assoc($res)) {
|
||||||
$serverProcesses[] = $row;
|
$serverProcesses[] = $row;
|
||||||
}
|
}
|
||||||
@@ -48,6 +49,8 @@ while ($row = PMA_DBI_fetch_assoc($res)) {
|
|||||||
unset($res);
|
unset($res);
|
||||||
unset($row);
|
unset($row);
|
||||||
|
|
||||||
|
PMA_showMessage($GLOBALS['strSQLQuery']);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Displays the page
|
* Displays the page
|
||||||
|
Reference in New Issue
Block a user