bug 611970

This commit is contained in:
Marc Delisle
2002-09-25 17:34:01 +00:00
parent 2e9826a8a1
commit 1503e0673c
2 changed files with 10 additions and 0 deletions

View File

@@ -5,6 +5,11 @@ phpMyAdmin - Changelog
$Id$
$Source$
2002-09-25 Marc Delisle <lem9@users.sourceforge.net>
* read_dump.php3: bug 611970, do not display the imported query
if larger than 500 (I don't think it's necessary to add another
config variable), thanks to Lo<4C>c
2002-09-24 Marc Delisle <lem9@users.sourceforge.net>
* sql.php3: could not go to next page when browsing a query containing
a function like SUM(), due to IFs in reversed sequence

View File

@@ -344,6 +344,11 @@ if ($sql_query != '') {
$sql_query_cpy = $sql_query = '';
} else {
$sql_query_cpy = implode(";\n", $pieces) . ';';
// Be nice with bandwidth... for now, an arbitrary limit of 500,
// could be made configurable but probably not necessary
if (strlen($sql_query_cpy) > 500) {
$sql_query_cpy = $sql_query = '';
}
}
// really run the query?