[TYPO3-core] RFC: #9620: Missing function SELECT_mm_query

David Bruchmann typo3-team-core at bruchmann-web.de
Mon Aug 17 13:16:30 CEST 2009


----- Ursprüngliche Nachricht -----
Von:        Michael Stucki <michael at typo3.org>
Gesendet:   Montag, 17. August 2009 12:30:23
An:         typo3-team-core at lists.netfielders.de
CC:
Betreff:    Re: [TYPO3-core] RFC: #9620: Missing function SELECT_mm_query
> Hi Steffen,
> 
>> after rethinking i discard version 2 and go back to the initial version
>> of the patch for following reason:
>>
>> DBAL doesn't have mm-functions. The mm-function only computes the query
>> and calls exec_SELECTquery which is also used in xclass of DBAL. Doing
>> own execute would mean that it isn't DBAL-compatible.
> 
> ? I don't get that. David is right that if the exec_* functions use the
> wrapper instead of mysql_query, it should work even with DBAL. So why do
> you want to revert it?
> 
> - michael
> 

Hi Michael,

thanks, at least I'm right ;-)

we're talking of two different points:

1) exec_SELECTquery should be a wrapper for SELECT_query but as Steffen 
pointed out, that could be incompatible to dbal

2) all queryies use mysql_query instead of sql_query. But I wrote an 
extra bug for that because it's another point and shouldn't be discussed 
here perhaps.

Best Regards
David


More information about the TYPO3-team-core mailing list