coding standards
This commit is contained in:
@@ -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)
|
||||
|
@@ -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')
|
||||
|
Reference in New Issue
Block a user