diff --git a/ChangeLog b/ChangeLog index 52571c3da..d3e655c4c 100755 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,8 @@ $Source$ * libraries/display_export.lib.php: Use same formatting for all options. * libraries/import/ldi.php: This one does not handle charset conversion. * sql.php: Work even if no db set. + * server_status.php: Call sql.php directly, we don't need to care about + query splitting done im read_dump. 2005-10-07 Marc Delisle * libraries/check_user_privileges.lib.php: bug #1313821, dbname containing a diff --git a/server_status.php b/server_status.php index 193518410..205c3b040 100644 --- a/server_status.php +++ b/server_status.php @@ -259,14 +259,14 @@ $links = array(); $links['table'][$strFlushTables] = $_SERVER['PHP_SELF'] . '?flush=TABLES&' . PMA_generate_common_url(); $links['table'][$strShowOpenTables] - = 'read_dump.php?sql_query=' . urlencode('SHOW OPEN TABLES') . + = 'sql.php?sql_query=' . urlencode('SHOW OPEN TABLES') . '&goto=server_status.php&' . PMA_generate_common_url(); $links['repl'][$strShowSlaveHosts] - = 'read_dump.php?sql_query=' . urlencode('SHOW SLAVE HOSTS') . + = 'sql.php?sql_query=' . urlencode('SHOW SLAVE HOSTS') . '&goto=server_status.php&' . PMA_generate_common_url(); $links['repl'][$strShowSlaveStatus] - = 'read_dump.php?sql_query=' . urlencode('SHOW SLAVE STATUS') . + = 'sql.php?sql_query=' . urlencode('SHOW SLAVE STATUS') . '&goto=server_status.php&' . PMA_generate_common_url(); $links['repl']['MySQL - ' . $strDocu] = $cfg['MySQLManualBase'] . '/replication.html';