diff --git a/server_status.php b/server_status.php index 7e4babdc34..e5bb06f1cb 100644 --- a/server_status.php +++ b/server_status.php @@ -1055,7 +1055,19 @@ function printServerTraffic() { - + + $GLOBALS['cfg']['MaxCharactersInDisplayedSQL']) { + echo htmlspecialchars(substr($process['Info'], 0, $GLOBALS['cfg']['MaxCharactersInDisplayedSQL'])) . '[...]'; + } else { + echo PMA_SQP_formatHtml(PMA_SQP_parse($process['Info'])); + } + } + ?> +