Call sql.php directly, we don't need to care about query splitting done im read_dump.

This commit is contained in:
Michal Čihař
2005-10-08 09:53:04 +00:00
parent 79c05d5cb9
commit 60e43c3e04
2 changed files with 5 additions and 3 deletions

View File

@@ -9,6 +9,8 @@ $Source$
* libraries/display_export.lib.php: Use same formatting for all options. * libraries/display_export.lib.php: Use same formatting for all options.
* libraries/import/ldi.php: This one does not handle charset conversion. * libraries/import/ldi.php: This one does not handle charset conversion.
* sql.php: Work even if no db set. * 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 <lem9@users.sourceforge.net> 2005-10-07 Marc Delisle <lem9@users.sourceforge.net>
* libraries/check_user_privileges.lib.php: bug #1313821, dbname containing a * libraries/check_user_privileges.lib.php: bug #1313821, dbname containing a

View File

@@ -259,14 +259,14 @@ $links = array();
$links['table'][$strFlushTables] $links['table'][$strFlushTables]
= $_SERVER['PHP_SELF'] . '?flush=TABLES&amp;' . PMA_generate_common_url(); = $_SERVER['PHP_SELF'] . '?flush=TABLES&amp;' . PMA_generate_common_url();
$links['table'][$strShowOpenTables] $links['table'][$strShowOpenTables]
= 'read_dump.php?sql_query=' . urlencode('SHOW OPEN TABLES') . = 'sql.php?sql_query=' . urlencode('SHOW OPEN TABLES') .
'&amp;goto=server_status.php&amp;' . PMA_generate_common_url(); '&amp;goto=server_status.php&amp;' . PMA_generate_common_url();
$links['repl'][$strShowSlaveHosts] $links['repl'][$strShowSlaveHosts]
= 'read_dump.php?sql_query=' . urlencode('SHOW SLAVE HOSTS') . = 'sql.php?sql_query=' . urlencode('SHOW SLAVE HOSTS') .
'&amp;goto=server_status.php&amp;' . PMA_generate_common_url(); '&amp;goto=server_status.php&amp;' . PMA_generate_common_url();
$links['repl'][$strShowSlaveStatus] $links['repl'][$strShowSlaveStatus]
= 'read_dump.php?sql_query=' . urlencode('SHOW SLAVE STATUS') . = 'sql.php?sql_query=' . urlencode('SHOW SLAVE STATUS') .
'&amp;goto=server_status.php&amp;' . PMA_generate_common_url(); '&amp;goto=server_status.php&amp;' . PMA_generate_common_url();
$links['repl']['MySQL - ' . $strDocu] $links['repl']['MySQL - ' . $strDocu]
= $cfg['MySQLManualBase'] . '/replication.html'; = $cfg['MySQLManualBase'] . '/replication.html';