[TYPO3-core] RFC #12071: t3lib_sqlparser is not able to parse alias of a joined table

Xavier Perseguers typo3 at perseguers.ch
Mon Sep 28 22:11:58 CEST 2009


Hi Moreno,

> Thanks for this patch, great improvement!
> 
> One question left:
> -                if ($stack[$pnt]['JOIN']['withTable'] = 
> $this->nextPart($parseString,'^([[:alnum:]_]+)[[:space:]]+ON[[:space:]]+',1))    
> {
> +                if ($stack[$pnt]['JOIN']['withTable'] = 
> $this->nextPart($parseString,'^([[:alnum:]_]+)[[:space:]]+',1))
> 
> Why did you remove the "ON part" here?

The ON was moved a bit down because the "AS" part needs (possibly) to be parsed before

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away


More information about the TYPO3-team-core mailing list