bug #2027720 [parser] Missing space after BINARY used as cast

This commit is contained in:
Marc Delisle
2009-01-18 12:20:16 +00:00
parent f0a026d1db
commit d468dd99e3
2 changed files with 3 additions and 2 deletions

View File

@@ -28,6 +28,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
+ [lang] Turkish update, thanks to Burak Yavuz
- patch #2496403 [display] Multi-row change with "]",
thanks to Virsacer - virsacer
- bug #2027720 [parser] Missing space after BINARY used as cast
3.1.2.0 (not yet released)
- bug #1253252 [display] Can't NULL a column with relation defined

View File

@@ -695,11 +695,11 @@ if (! defined('PMA_MINIMUM_COMMON')) {
$t_suffix = '_columnType';
/**
* Temporary fix for BUG #621357
* Temporary fix for BUG #621357 and #2027720
*
* @todo FIX PROPERLY NEEDS OVERHAUL OF SQL TOKENIZER
*/
if ($d_cur_upper == 'SET' && $t_next != 'punct_bracket_open_round') {
if (($d_cur_upper == 'SET' || $d_cur_upper == 'BINARY') && $t_next != 'punct_bracket_open_round') {
$t_suffix = '_reservedWord';
}
//END OF TEMPORARY FIX