Edit report at http://bugs.php.net/bug.php?id=42403&edit=1
ID: 42403 Updated by: [email protected] Reported by: ssufficool at rov dot sbcounty dot gov Summary: Field Attributes -Status: Open +Status: Duplicate Type: Feature/Change Request -Package: Feature/Change Request +Package: *General Issues Operating System: Linux PHP Version: 5.2.3 New Comment: Duplicate of bug #45876 Previous Comments: ------------------------------------------------------------------------ [2007-08-23 21:28:28] ssufficool at rov dot sbcounty dot gov Description: ------------ The PDO getColumnMeta does not return all of the attributes that the mssql_* functions return using FreeTDS or DBLIB. Reproduce code: --------------- <?php $select = $DB->query('SELECT fruit_name FROM fruit'); $meta = $select->getColumnMeta(0); var_dump($meta); ?> 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=42403&edit=1
