Req #42403 [Opn->Dup]: Field Attributes

From: Date: Mon, 21 Jun 2010 06:57:43 +0000
Subject: Req #42403 [Opn->Dup]: Field Attributes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-151709@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=42403&edit=1 ID: 42403 Updated by: ssufficool@php.net 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

« previous php.bugs (#151709) next »