mirror of
https://github.com/vrana/adminer.git
synced 2025-08-18 04:11:27 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user