Prolong printed SQL query

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1139 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana 2009-09-24 10:07:25 +00:00
parent 11982f17e3
commit 3bbf9a863e

View file

@ -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 "<pre class='jush-sql'>" . shorten_utf8(trim($q)) . "</pre>\n";
echo "<pre class='jush-sql'>" . shorten_utf8(trim($q), 1000) . "</pre>\n";
ob_flush();
flush(); // can take a long time - show the running query
$start = explode(" ", microtime()); // microtime(true) is available since PHP 5