|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-04-02 16:50 UTC] zac at slac dot stanford dot edu
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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 23:00:02 2025 UTC |
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