php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13592 mysql_field_flags returns nothing for "SET" string type
Submitted: 2001-10-07 22:21 UTC Modified: 2001-10-08 02:35 UTC
From: wchu010 at cs dot auckland dot ac dot nz Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.6 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: wchu010 at cs dot auckland dot ac dot nz
New email:
PHP Version: OS:

 

 [2001-10-07 22:21 UTC] wchu010 at cs dot auckland dot ac dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-08 02:35 UTC] derick@php.net
Fixed in CVS, thanks Markus.

Derick
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 13:01:29 2025 UTC