Trim printed query
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@668 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
4c75d84f3f
commit
e59735ecf6
|
@ -28,7 +28,7 @@ if (!$error && $_POST) {
|
||||||
$offset = $match[0][1] + strlen($match[0][0]);
|
$offset = $match[0][1] + strlen($match[0][0]);
|
||||||
} else {
|
} else {
|
||||||
$empty = false;
|
$empty = false;
|
||||||
echo "<pre class='jush-sql'>" . htmlspecialchars(substr($query, 0, $match[0][1])) . "</pre>\n";
|
echo "<pre class='jush-sql'>" . htmlspecialchars(trim(substr($query, 0, $match[0][1]))) . "</pre>\n";
|
||||||
flush();
|
flush();
|
||||||
$start = explode(" ", microtime());
|
$start = explode(" ", microtime());
|
||||||
//! don't allow changing of character_set_results, convert encoding of displayed query
|
//! don't allow changing of character_set_results, convert encoding of displayed query
|
||||||
|
|
Loading…
Reference in a new issue