Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.5.0b5

Bug #19451 Automatic column result type detection is broken
Submitted: 2012-06-02 17:37 UTC
From: lmartelli Assigned:
Status: Open Package: MDB2 (version 2.5.0b3)
PHP Version: 5.4.0 OS:
Roadmaps: (Not assigned)    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 29 - 19 = ?

 
 [2012-06-02 17:37 UTC] lmartelli (Laurent Martelli)
Description: ------------ Some drivers, such as postgresql, support auto detection of result types using <driver>_field_type function if MDB2_Result_<driver>::setResultTypes(NULL) is called. But if you use MDB2_PREPARE_RESULT (ie NULL) when calling MDB2_Driver::prepare(), setResultTypes() is not called, and as a result, all result columns are considered to be text.

Comments

 [2012-06-02 17:37 UTC] lmartelli (Laurent Martelli)