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

From: Date: Tue, 16 May 2006 17:16:27 +0000
Subject: Bug #7642 [Opn]: Data type abstraction layer does not work not fetched results
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-5055@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=7642&edit=1 ID: 7642 User updated by: christian_rocher at hotmail dot com Reported By: christian_rocher at hotmail dot com Status: Open Id: 7642 Type: Bug Package: Bug System Operating System: Windows XP SP2 PHP Version: 4.3.10 New Comment: To be more specific: I talk about content of columns in results that does not work properly, it works for queries Previous Comments: ------------------------------------------------------------------------ [2006-05-16 13:14:37] christian_rocher at hotmail dot com 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 this bug report at http://pear.php.net/bugs/bug.php?id=7642&edit=1

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