From 60e43c3e044d592db435c73bcc623a5e26dfb266 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Sat, 8 Oct 2005 09:53:04 +0000 Subject: [PATCH] Call sql.php directly, we don't need to care about query splitting done im read_dump. --- ChangeLog | 2 ++ server_status.php | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) 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';