[TYPO3-dam-devel] RFC #9830: Not responing queries using category selections
Peter Kuehn [wmdb]
peter.kuehn at wmdb.de
Wed Dec 10 09:38:18 CET 2008
hmpf....
this is, why they call him Michiel "the unbending" Roos ;)
> We should check if dbal is loaded and if it is, check if what db is
> running for the tables we want to do the query on and if that is
> mysql, then run the optimized query, else the default one.
ill add this and post an update.
Michiel Roos [netcreators] schrieb:
> Peter Kuehn [wmdb] schreef:
>> ola,
>>
>> savely detect what DB exactly were running on might end up in a lot of
>> struggling with $TYPO3_CONF_VARS['EXTCONF']['dbal']['etc']['pp']...
>>
>> i guess noone would (hopefully) install dbal, if he doesnt want to use a
>> different DB - so maybe a plain t3lib_extMgm::isLoaded('dbal') would do
>> the job -
>>
>> would it?
>
> Uhm, no.
>
> Maybe some person wants to use certain tables from one db and other
> tables from another db.
>
> If we choose to use mysql specific queries, we must provide clean SQL
> alternatives.
>
> We should check if dbal is loaded and if it is, check if what db is
> running for the tables we want to do the query on and if that is mysql,
> then run the optimized query, else the default one.
>
> Warm regards,
>
>
> Michiel Roos
>
More information about the TYPO3-team-dam
mailing list