#44846 [Fbk->Opn]: Missing MYSQLI_ENUM_FLAG
| From: | marc at phpmyadmin dot net | Date: | Mon, 21 Jul 2008 22:21:33 +0000 |
| Subject: | #44846 [Fbk->Opn]: Missing MYSQLI_ENUM_FLAG | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-127109@lists.php.net to get a copy of this message | ||
ID: 44846
User updated by: marc at phpmyadmin dot net
Reported By: marc at phpmyadmin dot net
-Status: Feedback
+Status: Open
Bug Type: MySQLi related
Operating System: Linux
PHP Version: 5.2.6RC5
Assigned To: andrey
New Comment:
Hello Andrey,
it's ok for just 5.3. A reference to this in the manual would be
appreciated.
Regards,
Marc
Previous Comments:
------------------------------------------------------------------------
[2008-07-21 18:26:48] andrey@php.net
I see it in 5.3-dev
andrey@whirlpool:~/dev/vanilla/php5_3/ext/mysqli> grep ENUM *
mysqli.c: REGISTER_LONG_CONSTANT("MYSQLI_ENUM_FLAG", ENUM_FLAG,
CONST_CS | CONST_PERSISTENT);
Do you want it in 5.2 ? I think there will be no more versions of 5.2
------------------------------------------------------------------------
[2008-04-27 15:19:10] marc at phpmyadmin dot net
Description:
------------
In ext/mysqli/mysqli.c, please add
REGISTER_LONG_CONSTANT("MYSQLI_ENUM_FLAG", ENUM_FLAG, CONST_CS |
CONST_PERSISTENT);
and also add a reference to MYSQLI_ENUM_FLAG in the PHP manual:
http://www.php.net/manual/en/mysqli.constants.php
The value of this ENUM_FLAG can be seen in the MySQL source:
mysql-5.0.51a/include/mysql_com.h
Reproduce code:
---------------
php.n
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44846&edit=1