[TYPO3-dev] DBAL Usuage
belbono
belbono at gmx.de
Mon Nov 19 23:44:18 CET 2007
another question ...
is there nice way to debug the statements DBAL creates ...except for the
dbal debug module?
I tried something like
$succ = $GLOBALS['TYPO3_DB']->exec_INSERTquery(strtoupper('tab'),
'TAB_UID='.$uid ,$insertArr);
..because dbal should return an object on a successful statement
if(!is_object($succ)) {
if($update == false) {
$query =
$GLOBALS['TYPO3_DB']->INSERTquery(strtoupper('article'), $insertArr);
$debugArr['tab'] = $query;
$debugArr['error'] = 1;
}
}
Alex
Martin Kutschker wrote:
> belbono schrieb:
>
>> Martin Kutschker wrote:
>>
>>> I didn't try with ADOdb directly, but it worked ok for me from TYPO3
>>> and PHP directly (on Windiws). I think the point was to use the
>>> Windows service and not the traditional SID mechanism.
>>>
>>>
>> Sounds not so good for me, since development is done under windows, but
>> the plugin will be used on a linux machine later.
>>
>> I´m not sure if I got you right: Are you actually up to fix that issue
>> in DBAL we discussed, because you said you'll have to check that ... ?
>>
>
> I'm not DBAL's developer. I said I'll check that you cannot quote table
> names. I have succesfully used DBAL with Oracle and I had no quoting
> problem. What I'm going to do is check docs and ask some experts we have in
> the company.
>
>
>
More information about the TYPO3-dev
mailing list