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:
parent
11982f17e3
commit
3bbf9a863e
|
@ -55,7 +55,7 @@ if (!$error && $_POST) {
|
||||||
if (!$found || $found == $delimiter) { // end of a query
|
if (!$found || $found == $delimiter) { // end of a query
|
||||||
$empty = false;
|
$empty = false;
|
||||||
$q = substr($query, 0, $match[0][1]);
|
$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();
|
ob_flush();
|
||||||
flush(); // can take a long time - show the running query
|
flush(); // can take a long time - show the running query
|
||||||
$start = explode(" ", microtime()); // microtime(true) is available since PHP 5
|
$start = explode(" ", microtime()); // microtime(true) is available since PHP 5
|
||||||
|
|
Loading…
Reference in a new issue