Transformation for SQL pretty printing (RFE #1327648).

This commit is contained in:
Michal Čihař
2005-10-16 16:16:36 +00:00
parent c694ea42b4
commit e6d84d6795
119 changed files with 134 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
<?php
/* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
function PMA_transformation_text_plain__sql($buffer, $options = array(), $meta = '') {
$result = PMA_SQP_formatHtml(PMA_SQP_parse($buffer));
// Need to clear error state not to break subsequent queries display.
PMA_SQP_resetError();
return $result;
}
?>