#44846 [Asn->Csd]: Missing MYSQLI_ENUM_FLAG
| From: | kalle@php.net | Date: | Sun, 26 Oct 2008 12:13:28 +0000 |
| Subject: | #44846 [Asn->Csd]: Missing MYSQLI_ENUM_FLAG | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1247@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: Assigned
+Status: Closed
Bug Type: Documentation problem
Operating System: Linux
PHP Version: 5.2.6RC5
Assigned To: kalle
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
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