Bug #13592 Updated: mysql_field_flags returns nothing for "SET" string type
| From: | derick@php.net | Date: | Mon, 08 Oct 2001 06:35:46 +0000 |
| Subject: | Bug #13592 Updated: mysql_field_flags returns nothing for "SET" string type | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-67522@lists.php.net to get a copy of this message | ||
ID: 13592
Updated by: derick
Reported By: wchu010@cs.auckland.ac.nz
Old Status: Open
Status: Closed
Bug Type: MySQL related
Operating System: Linux
PHP Version: 4.0.6
New Comment:
Fixed in CVS, thanks Markus.
Derick
Previous Comments:
------------------------------------------------------------------------
[2001-10-07 22:21:38] wchu010@cs.auckland.ac.nz
Calls to mysql_field_flags() with MySQL "SET" string type (see MySQL manual 7.3.4.4), did
not return anything. "SET" is similar to "ENUM" in that both are a sub-type of
"STRING", so a call to mysql_field_type() always returns "string".
However in order to tell the difference between regular STRING, ENUM and SET it is neccessary to
call mysql_field_flags() to get the details. eg For "ENUM", mysql_field_flags returns
"enum". But not for "SET".
(The MySQL version I am using is 3.23.42)
Thanks.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13592&edit=1