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

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