Felipe Pena wrote:
Hi Lester,

Em Dom, 2009-02-15 às 18:31 +0000, Lester Caine escreveu:
I've been looking into the failures on
http://gcov.php.net/viewer.php?version=PHP_5_3&func=tests
with relation to the firebird pdo driver, and the first problem that needs to be addressed is the SQL differences in order for the different drivers to work. I'm seeing specific fixes for some drivers in the tests, but how should the fact that PDO does not handle the different SQL requirements be addressed in these generic tests?

Obviously the first problem is identifying driver bugs from bugs in the tests themselves, in particular the upper/lower case 'defaults', and the use of non standard field definitions.


I'm looking at this. I'll check each test and will try to be fixing the
bugs as soon as possible. Please, report whatever bug that you found. :)

The OCI driver is failing a number of the same tests as Firebird. Both work in a similar way internally which is why I believe that the tests need sorting before trying to fix non existent bugs? Since I don't use oci, making generic changes to the tests is a little difficult for me.

I have now found the switch to force upper case returns from PDO, but 'natural' returns should at least follow the current SQL standards, which seems not to be the case. I'm being pressed to at least look at the Firebird PDO driver, but it's method of working introduces another level of processing inside ADOdb - on which all my work is based - so I only see disadvantages in enabling it. All the projects I'm involved with switch cleanly between different databases. YES things could be faster if we selected just one database, but customers seem to have this idea that THEIR favourite database is best. PDO is not a stepping stone to database abstraction, it's introducing it's own restrictions to clean cross database working, and messing up the current clean paths :(

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/lsces/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to