config.inc.php3 sql.php3 tbl_move_copy.php3 libraries/common.lib.php3 libraries/sqlparser.lib.php3: Committed Marc's patches to the SQL parser and pretty printer from bugs #605030 and #631421.

This commit is contained in:
Robin Johnson
2002-11-08 22:20:23 +00:00
parent 466579cce1
commit 703be1753e
6 changed files with 55 additions and 25 deletions

View File

@@ -280,10 +280,11 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
$formatted_sql = PMA_SQP_formatNone($parsed_sql);
break;
case 'html':
$formatted_sql = PMA_SQP_formatHtml($parsed_sql);
$formatted_sql = PMA_SQP_formatHtml($parsed_sql,'color');
break;
case 'text':
$formatted_sql = PMA_SQP_formatText($parsed_sql);
//$formatted_sql = PMA_SQP_formatText($parsed_sql);
$formatted_sql = PMA_SQP_formatHtml($parsed_sql,'text');
break;
default:
break;