ID: 16399
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Feedback
Bug Type: MySQL related
Operating System: irix
PHP Version: 4.0.6
New Comment:
Can you try this with the latest version from
www.php.net/downloads.php? I checked the souurce and it shows this:
#ifdef ENUM_FLAG
if (mysql_field->flags&ENUM_FLAG) {
strcat(buf, "enum ");
}
#endif
#ifdef SET_FLAG
if (mysql_field->flags&SET_FLAG) {
strcat(buf, "set ");
}
#endif
So technically it should be ok.
Please report back if you have more information.
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-04-02 16:50:19] [EMAIL PROTECTED]
when using mysql_field_flags to get information
on "enum"erations or "set"s from a MySQL column
you cannot distinguish between them.
Both "enum" and "set" are flagged as "enum" on the
PHP side.
I suggest that the mysql distinction be maintained
on the PHP side.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16399&edit=1