Edit report at https://bugs.php.net/bug.php?id=48724&edit=1
ID: 48724
Updated by: stas@php.net
Reported by: an0nym at narod dot ru
Summary: getColumnMeta() doesn't return native_type for BIT,
TINYINT and YEAR
-Status: Assigned
+Status: Closed
Type: Bug
Package: PDO related
Operating System: *
PHP Version: 5.3.0
Assigned To: mysql
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of tony@daylessday.org
Revision: http://git.php.net/?p=php-src.git;a=commit;h=95cc763a1484c4922f6577c10de937299dc8c8e0
Log: fix bug #48724
Previous Comments:
------------------------------------------------------------------------
[2012-04-16 12:12:38] tony2001@php.net
Ulf, could you pls check if the attached patch is correct?
Thanks.
------------------------------------------------------------------------
[2012-04-13 12:06:15] tony2001@php.net
The following patch has been added/updated:
Patch Name: fix-bug-48724.patch
Revision: 1334318775
URL: https://bugs.php.net/patch-display.php?bug=48724&patch=fix-bug-48724.patch&revision=1334318775
------------------------------------------------------------------------
[2009-07-03 16:57:28] uw@php.net
You are free to patch it.
Bye.
------------------------------------------------------------------------
[2009-07-03 16:30:12] an0nym at narod dot ru
Poor MySQLi developers... they've managed to solve this problem without
specification.
Poor you... you've spent sooo many time for nothing developing this
function, which works in 35 of 38 cases - this stuff has no
specification! Wait for a specification - you have a good excuse!
Bye.
------------------------------------------------------------------------
[2009-07-03 16:17:20] uw@php.net
You are free to write a patch.
I refuse to work on stuff that has no specification and which may go into any direction. That
typically ends up in a backwards compatibility nightmare, which in particular for an abstraction
like PDO makes no sense to me.
The patch may be rather simple. But watch out for different values returned by different MySQL
versions.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=48724--
Edit this bug report at https://bugs.php.net/bug.php?id=48724&edit=1