#36007 [Opn->Asn]: New MySQL 5.0 Field Types not defined
| From: | georg@php.net | Date: | Sat, 14 Jan 2006 08:35:00 +0000 |
| Subject: | #36007 [Opn->Asn]: New MySQL 5.0 Field Types not defined | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-91894@lists.php.net to get a copy of this message | ||
ID: 36007
Updated by: georg@php.net
Reported By: paul at noc4 dot ltd dot uk
-Status: Open
+Status: Assigned
Bug Type: MySQLi related
Operating System: Linux 2.6
PHP Version: 5CVS-2006-01-14 (snap)
Previous Comments:
------------------------------------------------------------------------
[2006-01-14 04:51:53] paul at noc4 dot ltd dot uk
Description:
------------
constants
MYSQLI_TYPE_BIT
MYSQLI_TYPE_NEWDECIMAL
not currently defined by the mysqli extension for the new mysql 5.0
BIT(n) fields and NEWDECIMAL type as returned buy the 5.0 c api
addition of:
REGISTER_LONG_CONSTANT("MYSQLI_TYPE_NEWDECIMAL",
FIELD_TYPE_NEWDECIMAL, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("MYSQLI_TYPE_BIT", FIELD_TYPE_BIT, CONST_CS |
CONST_PERSISTENT);
to
ext/mysqli/mysqli.c
fixes the problem
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36007&edit=1