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  


 [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)