From 959644445d84189d3b58f343c3635634c473ca58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 6 Aug 2013 12:04:00 +0200 Subject: PMA_Util::formatSql now requires unparsed query as well In most cases we just need to output it as is, formatting is done in javascript. --- tbl_tracking.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tbl_tracking.php') diff --git a/tbl_tracking.php b/tbl_tracking.php index 27304f6ec4..81b82b4997 100644 --- a/tbl_tracking.php +++ b/tbl_tracking.php @@ -568,7 +568,7 @@ if (isset($_REQUEST['report']) || isset($_REQUEST['report_export'])) { $GLOBALS['cfg']['MaxCharactersInDisplayedSQL'] ) . '[...]'; } else { - $statement = PMA_Util::formatSql(PMA_SQP_parse($entry['statement'])); + $statement = PMA_Util::formatSql(PMA_SQP_parse($entry['statement']), $entry['statement']); } $timestamp = strtotime($entry['date']); @@ -635,7 +635,7 @@ if (isset($_REQUEST['report']) || isset($_REQUEST['report_export'])) { $GLOBALS['cfg']['MaxCharactersInDisplayedSQL'] ) . '[...]'; } else { - $statement = PMA_Util::formatSql(PMA_SQP_parse($entry['statement'])); + $statement = PMA_Util::formatSql(PMA_SQP_parse($entry['statement']), $entry['statement']); } $timestamp = strtotime($entry['date']); -- cgit v1.2.3