From 3bbf9a863e70bc0339a023948e3b9e31bf60ea15 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Thu, 24 Sep 2009 10:07:25 +0000 Subject: [PATCH] Prolong printed SQL query git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1139 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- adminer/sql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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