#44846 [Opn->Asn]: Missing MYSQLI_ENUM_FLAG
| From: | kalle@php.net | Date: | Sat, 25 Oct 2008 12:51:17 +0000 |
| Subject: | #44846 [Opn->Asn]: Missing MYSQLI_ENUM_FLAG | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1243@lists.php.net to get a copy of this message | ||
ID: 44846
Updated by: kalle@php.net
Reported By: marc at phpmyadmin dot net
-Status: Open
+Status: Assigned
Bug Type: Documentation problem
Operating System: Linux
PHP Version: 5.2.6RC5
-Assigned To:
+Assigned To: kalle
Previous Comments:
------------------------------------------------------------------------
[2008-07-21 22:21:31] marc at phpmyadmin dot net
Hello Andrey,
it's ok for just 5.3. A reference to this in the manual would be
appreciated.
Regards,
Marc
------------------------------------------------------------------------
[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