Bug #13592: mysql_field_flags returns nothing for "SET" string type

From: Date: Mon, 08 Oct 2001 02:21:38 +0000
Subject: Bug #13592: mysql_field_flags returns nothing for "SET" string type
Groups: php.dev 
Request: Send a blank email to php-dev+get-67516@lists.php.net to get a copy of this message
From: wchu010@cs.auckland.ac.nz Operating system: Linux PHP version: 4.0.6 PHP Bug Type: MySQL related Bug description: mysql_field_flags returns nothing for "SET" string type 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 bug report at: http://bugs.php.net/?id=13592&edit=1

« previous php.dev (#67516) next »