#44846 [Opn->Fbk]: Missing MYSQLI_ENUM_FLAG

From: Date: Mon, 21 Jul 2008 18:26:48 +0000
Subject: #44846 [Opn->Fbk]: Missing MYSQLI_ENUM_FLAG
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-127089@lists.php.net to get a copy of this message
 ID:               44846
 Updated by:       andrey@php.net
 Reported By:      marc at phpmyadmin dot net
-Status:           Open
+Status:           Feedback
 Bug Type:         MySQLi related
 Operating System: Linux
 PHP Version:      5.2.6RC5
 Assigned To:      andrey
 New Comment:

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



Previous Comments:
------------------------------------------------------------------------

[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



Thread (3 messages)

« previous php.bugs (#127089) next »