Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2013-08-06 14:04:00 +0400
committerMichal Čihař <mcihar@suse.cz>2013-08-06 14:04:14 +0400
commit959644445d84189d3b58f343c3635634c473ca58 (patch)
tree287313c4f8b469c6a022a3412a7cf6bedb907e64 /tbl_tracking.php
parent9473fb8fedaa912eaa5f761cb2d86231f853820c (diff)
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.
Diffstat (limited to 'tbl_tracking.php')
-rw-r--r--tbl_tracking.php4
1 files changed, 2 insertions, 2 deletions
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']);