Bug #7642 [NEW]: Data type abstraction layer does not work not fetched results

From: Date: Tue, 16 May 2006 17:14:38 +0000
Subject: Bug #7642 [NEW]: Data type abstraction layer does not work not fetched results
Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-5054@lists.php.net to get a copy of this message
From: christian_rocher at hotmail dot com Operating system: Windows XP SP2 Package version: PHP version: 4.3.10 Package: Bug System Bug Type: Bug Bug description: Data type abstraction layer does not work not fetched results Description: ------------ Hi, I use MDB2-2.0.1 with MDB2_Driver_mysql-1.0.1, MDB2_Driver_pgsql-1.0.0 and MDB_QueryTool-1.1.1 to connect to my databases (MySQL and Posgres). The Data type abstraction layer works fine. But fetched records (QueryTool->getAll()) returns data in the database format. For example: a boolean is 0 or 1 for mysql and "f" or "t" for posgres. Test script: --------------- $this->QueryTool->reset(); $this->QueryTool->AddOrder( $this->QueryTool->primaryCol); $this->QueryTool->getAll(); Expected result: ---------------- the bolean values are converted to 0 or 1 Actual result: -------------- a boolean result is 0 or 1 for mysql and "f" or "t" for posgres. -- Edit bug report at http://pear.php.net/bugs/bug.php?id=7642&edit=1 --

« previous php.pear.webmaster (#5054) next »