[TYPO3-core] [dbal] RFC Bug-fix 0010411: table name are not mapped in the value part of a query and in inner join
Michael Miousse
michael.miousse at infoglobe.ca
Fri Feb 13 14:49:05 CET 2009
This is an SVN patch request.
Type: bugfix
Branches: trunk/typo3/sysext/dbal/ (revision 4432)
Bugtracker reference: http://bugs.typo3.org/view.php?id=10411
Problem:
when having a query like this:
SELECT table1.* FROM table1 INNER JOIN table2 ON table1.uid = table2.fk_table1 WHERE table1.price < table2.cost
INNER JOIN and all other join(i suppose) are not supported for the mapping
table2 is not mapped in the where
Solution:
add join mapping in map_remapSELECTQueryParts function and modify value mapping in map_sqlParts function
Index: trunk/typo3/sysext/dbal/class.ux_t3lib_db.php
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_10411_rev_4432.patch
Type: text/x-patch
Size: 2895 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090213/df2c349d/attachment.bin
More information about the TYPO3-team-core
mailing list