MDB2 PEAR DB wrapper

From: Date: Thu, 29 Apr 2004 19:59:54 +0000
Subject: MDB2 PEAR DB wrapper
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-28576@lists.php.net to get a copy of this message
Hi, After a little hacking session and testing with mysql I got the test suite to pass all but the following tests: sequences - due to the fact that I am not wrapping MDB2_Error objects prepare/execute - due to missing support for & and ! placeholder error mapping - was failing on the real DB as well .. transaction test - was failing on the real DB as well due to using MyISAM .. row limit - this one failed since the row counter is not increased by the offset fetchmode object - feature is missing in MDB2, but maybe I can add it without too much of a performance penalty due the fact that we now are using is_a() in isError() tableinfo - was failing on DB as well get - see fetchmode_object bug22328 - was failing on DB as well here are the results: deepblue:/2nd_drive/sites/cvs_vandal_mount/phpcvs/pear/DB/tests/driver # ./run
DB_driver::connect                                                   ... passed
DB_driver::fetch                                                     ... passed
DB_driver::simpleQuery                                               ... passed
DB_driver::numCols                                                   ... passed
DB_driver::sequences (05sequences.phpt)                              ... failed
DB_driver::prepare/execute (06prepexec.phpt)                         ... failed
DB_driver::affectedRows                                              ... passed
DB_driver::numRows                                                   ... passed
DB_driver::error mapping (10errormap.phpt)                           ... failed
DB_driver::transaction test (11transactions.phpt)                    ... failed
DB_driver::row limit (13limit.phpt)                                  ... failed
DB_driver::fetchmode object (14fetchmode_object.phpt)                ... failed
DB_driver::quote                                                     ... passed
DB_driver::tableInfo (16tableinfo.phpt)                              ... failed
DB_driver::query                                                     ... passed
DB_driver::get (18get.phpt)                                          ... failed
DB_driver::bug22328 (bug22328.phpt)                                  ... failed
Here are the result with PEAR DB itself deepblue:/2nd_drive/sites/cvs_vandal_mount/phpcvs/pear/DB/tests/driver # ./run
DB_driver::connect                                                   ... passed
DB_driver::fetch                                                     ... passed
DB_driver::simpleQuery                                               ... passed
DB_driver::numCols                                                   ... passed
DB_driver::sequences                                                 ... passed
DB_driver::prepare/execute                                           ... passed
DB_driver::affectedRows                                              ... passed
DB_driver::numRows                                                   ... passed
DB_driver::error mapping (10errormap.phpt)                           ... failed
DB_driver::transaction test (11transactions.phpt)                    ... failed
DB_driver::row limit                                                 ... passed
DB_driver::fetchmode object                                          ... passed
DB_driver::quote                                                     ... passed
DB_driver::tableInfo (16tableinfo.phpt)                              ... failed
DB_driver::query                                                     ... passed
DB_driver::get                                                       ... passed
DB_driver::bug22328 (bug22328.phpt)                                  ... failed
regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07

« previous php.pear.dev (#28576) next »