fix for #613102 (ALTER TABLE:missing spacebar)

This commit is contained in:
Michal Čihař
2002-09-23 08:53:29 +00:00
parent 30adfe10bf
commit 207bd192a6
2 changed files with 13 additions and 1 deletions

View File

@@ -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)

View File

@@ -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')