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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user