fix for #613102 (ALTER TABLE:missing spacebar)
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2002-09-23 Michal Cihar <nijel@users.sourceforge.net>
|
||||
* libraries/sqlparser.lib.php3: fix for #613102 (ALTER TABLE:missing
|
||||
spacebar)
|
||||
|
||||
2002-09-22 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* tbl_relation.php3: fix fox #611519 (slash in comment)
|
||||
|
||||
|
@@ -673,7 +673,7 @@ if (!defined('PMA_SQP_LIB_INCLUDED')) {
|
||||
'ON',
|
||||
'USING'
|
||||
);
|
||||
$keywords_with_brackets_1before_cnt = 3;
|
||||
$keywords_with_brackets_1before_cnt = 4;
|
||||
|
||||
$keywords_with_brackets_2before = array(
|
||||
'IGNORE',
|
||||
@@ -816,6 +816,14 @@ if (!defined('PMA_SQP_LIB_INCLUDED')) {
|
||||
$before .= ' ';
|
||||
}
|
||||
break;
|
||||
case 'alpha_columnAttrib':
|
||||
if ($typearr[3] == 'alpha_columnAttrib') {
|
||||
$after .= ' ';
|
||||
}
|
||||
if ($typearr[3] == 'quote_single') {
|
||||
$after .= ' ';
|
||||
}
|
||||
break;
|
||||
case 'alpha_reservedWord':
|
||||
$upper = $arr[$i]['data'];
|
||||
if ((($typearr[1] != 'alpha_reservedWord')
|
||||
|
Reference in New Issue
Block a user