ID: 35536
Updated by: tony2001@php.net
Reported By: nevis2us at infoline dot su
-Status: Open
+Status: Feedback
Bug Type: MySQL related
Operating System: Linux Gentoo
PHP Version: 4.4.1
New Comment:
Works perfectly fine here.
Please check which mysqlclient libs your PHP uses: they has to be of
the same version as the server.
Previous Comments:
------------------------------------------------------------------------
[2005-12-03 22:33:58] nevis2us at infoline dot su
Description:
------------
mysql_field_type returns 'unknown' for INT(11) columns
in MySQL 5.0.16 Same results with PHP 5.0.5
No problems with MySQL 4.1.15
Also works for decimal types in 5.0
Reproduce code:
---------------
Call mysql_field_type for an INT column in MySQL 5.0.16
Expected result:
----------------
Should return 'int'
Actual result:
--------------
'unknown'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35536&edit=1