diff --git a/adminer/sql.inc.php b/adminer/sql.inc.php index 68b25601..52beaded 100644 --- a/adminer/sql.inc.php +++ b/adminer/sql.inc.php @@ -55,7 +55,7 @@ if (!$error && $_POST) { if (!$found || $found == $delimiter) { // end of a query $empty = false; $q = substr($query, 0, $match[0][1]); - echo "
" . shorten_utf8(trim($q)) . "\n"; + echo "
" . shorten_utf8(trim($q), 1000) . "\n"; ob_flush(); flush(); // can take a long time - show the running query $start = explode(" ", microtime()); // microtime(true) is available since PHP 5