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

Bug #19517 Some bugs in sqlsrv driver (patch is provided)
Submitted: 2012-07-18 19:43 UTC
From: raziel057 Assigned: raziel057
Status: Closed Package: MDB2_Driver_sqlsrv (version 1.5.0b4)
PHP Version: 5.3.13 OS: Windows Server 2008
Roadmaps: (Not assigned)    

 [2012-07-18 19:43 UTC] raziel057 (Thomas Lallement)
Description: ------------ Hello, I found some little bugs in the driver: 1. It's not possible to set the character set for the connection. I fixed it by providing the configuration to the CharacterSet parameter when connecting. 2. I added an error code [3621] for integrity contraints (which where not mapped) 3. There is a problem on fetchRow method if the fetchmode is MDB2_FETCHMODE_OBJECT and the portability mode is set, because the method _fixResultArrayValues is called with a STDObject as $row and we've got the following error: Fatal error: Cannot use object of type stdClass as array 4. Date fields are represented as datetime string values rather than date I provide you a patch to apply to fix these issues. Best regards


 [2012-07-18 19:44 UTC] raziel057 (Thomas Lallement)
 [2012-08-13 17:36 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Closed -Assigned To: +Assigned To: raziel057