mysql_field_type returns 'unknown' for DECIMAL columns in MySQL 5.0+
| Bug #35536 | mysql_field_type returns 'unknown' for DECIMAL columns in MySQL 5.0+ | ||||
|---|---|---|---|---|---|
| Submitted: | 2005-12-03 22:33 UTC | Modified: | 2005-12-05 14:21 UTC | ||
| From: | nevis2us at infoline dot su | Assigned: | tony2001 (profile) | ||
| Status: | Closed | Package: | MySQL related | ||
| PHP Version: | 4.4.1 | OS: | Linux Gentoo | ||
| Private report: | No | CVE-ID: | None | ||
[2005-12-03 22:33 UTC] 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'
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2005-12-03 23:08 UTC] tony2001@php.net
[2005-12-04 19:02 UTC] nevis2us at infoline dot su
[2005-12-04 21:39 UTC] tony2001@php.net
[2005-12-04 22:03 UTC] nevis2us at infoline dot su
[2005-12-04 22:14 UTC] tony2001@php.net
[2005-12-04 22:36 UTC] nevis2us at infoline dot su
[2005-12-04 22:42 UTC] tony2001@php.net
[2005-12-05 00:53 UTC] nevis2us at infoline dot su
[2005-12-05 10:03 UTC] tony2001@php.net
[2005-12-05 13:35 UTC] nevis2us at infoline dot su
[2005-12-05 13:43 UTC] tony2001@php.net
[2005-12-05 14:12 UTC] nevis2us at infoline dot su
[2005-12-05 14:21 UTC] tony2001@php.net