* db_readdump.php3: if file contains mutiple queries, only show this line:

"Your SQL-query has been executed successfully: The content of your
           file has been inserted. (131 Instructions)" instead of showing twice
           (result + textarea) the whole file, which could be problematic with
           large dumps.
        * db_details: removed $sql_query_cpy stuff (was used by db_readdump.php3)
This commit is contained in:
Olivier Müller
2001-08-19 12:46:17 +00:00
parent 862ebba12b
commit 4ab699c90f
3 changed files with 16 additions and 11 deletions

View File

@@ -70,9 +70,6 @@ if (!empty($prev_sql_query)) {
}
}
// Copy the query, used for display purposes only
$sql_query_cpy = $sql_query;
/**
* Executes the query
@@ -120,6 +117,9 @@ if ($sql_query != '') {
} // end if
// be nice with bandwidth...
$sql_query = "";
/**
* Go back to the calling script
*/
@@ -127,7 +127,8 @@ require('./header.inc.php3');
if (isset($my_die)) {
mysql_die('', $my_die);
}
$message = $strSuccess;
$message = "$strSuccess: $strTheContent ($pieces_count $strInstructions)  ";
if (!isset($goto)
|| ($goto != 'db_details.php3' && $goto != 'tbl_properties.php3')) {
$goto = 'db_details.php3';