Modified pretty printer to display nicer queries generated by our db search.
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2004-05-11 Michal Čihař <michal@cihar.com>
|
||||||
|
* libraries/sqlparser.lib.php: Modified pretty printer to display nicer
|
||||||
|
queries generated by our db search.
|
||||||
|
|
||||||
2004-05-10 Marc Delisle <lem9@users.sourceforge.net>
|
2004-05-10 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/serbian: Updated, thanks to Mihailo Stefanovic (mikis).
|
* lang/serbian: Updated, thanks to Mihailo Stefanovic (mikis).
|
||||||
* left.php: commit for Garvin: fix for wrong group expanding (group
|
* left.php: commit for Garvin: fix for wrong group expanding (group
|
||||||
|
@@ -1652,7 +1652,6 @@ if ($is_minimum_common == FALSE) {
|
|||||||
|
|
||||||
// These reserved words do NOT get a newline placed near them.
|
// These reserved words do NOT get a newline placed near them.
|
||||||
$keywords_no_newline = array(
|
$keywords_no_newline = array(
|
||||||
'AND',
|
|
||||||
'AS',
|
'AS',
|
||||||
'ASC',
|
'ASC',
|
||||||
'DESC',
|
'DESC',
|
||||||
@@ -1660,10 +1659,11 @@ if ($is_minimum_common == FALSE) {
|
|||||||
'HOUR',
|
'HOUR',
|
||||||
'INTERVAL',
|
'INTERVAL',
|
||||||
'IS',
|
'IS',
|
||||||
|
'LIKE',
|
||||||
'NOT',
|
'NOT',
|
||||||
'NULL',
|
'NULL',
|
||||||
'ON',
|
'ON',
|
||||||
'OR'
|
'REGEXP'
|
||||||
);
|
);
|
||||||
$keywords_no_newline_cnt = 12;
|
$keywords_no_newline_cnt = 12;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user