|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #42403 Field Attributes
Submitted: 2007-08-23 21:28 UTC Modified: 2010-06-21 08:57 UTC
From: ssufficool at rov dot sbcounty dot gov Assigned:
Status: Duplicate Package: *General Issues
PHP Version: 5.2.3 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: ssufficool at rov dot sbcounty dot gov
New email:
PHP Version: OS:


 [2007-08-23 21:28 UTC] ssufficool at rov dot sbcounty dot gov
The PDO getColumnMeta does not return all of the attributes that the mssql_* functions return using FreeTDS or DBLIB.

Reproduce code:
$select = $DB->query('SELECT fruit_name FROM fruit');
$meta = $select->getColumnMeta(0);

Expected result:
the proper length, not -1 and type of the character field along with other attributes provided by mssql_field_* functions

Actual result:
field length of -1 along with other invalid/unknown attributes


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-06-21 08:57 UTC]
-Status: Open +Status: Duplicate -Package: Feature/Change Request +Package: *General Issues
 [2010-06-21 08:57 UTC]
Duplicate of bug #45876
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Dec 05 05:05:53 2022 UTC