coding standards

This commit is contained in:
Michal Čihař
2002-09-23 14:15:31 +00:00
parent 4c272f6aec
commit c792e535f5
2 changed files with 7 additions and 7 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2002-09-22 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* libraries/sqlparser.lib.php3: coding standards
2002-09-23 Michal Cihar <nijel@users.sourceforge.net>
* libraries/sqlparser.lib.php3: fix for #613102 (ALTER TABLE:missing
spacebar)

View File

@@ -764,7 +764,7 @@ if (!defined('PMA_SQP_LIB_INCLUDED')) {
$after = '';
$before = '';
}
if (($typearr[3] == 'alpha_columnType') || ($typearr[3] == 'alpha_identifier')){
if (($typearr[3] == 'alpha_columnType') || ($typearr[3] == 'alpha_identifier')) {
$after .= ' ';
}
break;
@@ -816,14 +816,11 @@ if (!defined('PMA_SQP_LIB_INCLUDED')) {
$before .= ' ';
}
break;
case 'alpha_columnAttrib':
if ($typearr[3] == 'alpha_columnAttrib') {
case 'alpha_columnAttrib':
if (($typearr[3] == 'alpha_columnAttrib') || ($typearr[3] == 'quote_single')) {
$after .= ' ';
}
if ($typearr[3] == 'quote_single') {
$after .= ' ';
}
break;
break;
case 'alpha_reservedWord':
$upper = $arr[$i]['data'];
if ((($typearr[1] != 'alpha_reservedWord')