Show result of last SHOW query when multiple queries.
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2003-11-18 Michal Cihar <nijel@users.sourceforge.net>
|
||||
* read_dump.php3: Show result of last SHOW query when multiple queries.
|
||||
|
||||
2003-11-17 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* lang/french: update
|
||||
* lang/turkish update, thanks to Bora Alioglu
|
||||
|
@@ -262,7 +262,7 @@ if ($sql_query != '') {
|
||||
|
||||
for ($i = 0; $i < $pieces_count; $i++) {
|
||||
$a_sql_query = $pieces[$i];
|
||||
if ($i == $pieces_count - 1 && eregi('^SELECT', $a_sql_query)) {
|
||||
if ($i == $pieces_count - 1 && eregi('^(SELECT|SHOW)', $a_sql_query)) {
|
||||
$complete_query = $sql_query;
|
||||
$display_query = $sql_query;
|
||||
$sql_query = $a_sql_query;
|
||||
@@ -353,6 +353,7 @@ if (isset($table) && $table == '') {
|
||||
if (isset($db) && $db == '') {
|
||||
unset($db);
|
||||
}
|
||||
|
||||
$is_db = $is_table = FALSE;
|
||||
if ($goto == 'tbl_properties.php3') {
|
||||
if (!isset($table)) {
|
||||
|
Reference in New Issue
Block a user