bug 611970
This commit is contained in:
@@ -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
|
||||
|
@@ -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?
|
||||
|
Reference in New Issue
Block a user