php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #44846 Missing MYSQLI_ENUM_FLAG
Submitted: 2008-04-27 15:19 UTC Modified: 2008-10-26 12:13 UTC
From: marc at phpmyadmin dot net Assigned: kalle (profile)
Status: Closed Package: Documentation problem
PHP Version: 5.2.6RC5 OS: Linux
Private report: No CVE-ID: None
 [2008-04-27 15:19 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-21 18:26 UTC] 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-07-21 22:21 UTC] 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-10-26 12:13 UTC] kalle@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 23:01:31 2024 UTC