#31015 [Asn->Csd]: mysqli request to expose create length of field as a property of the field obje

From: Date: Mon, 27 Dec 2004 11:57:40 +0000
Subject: #31015 [Asn->Csd]: mysqli request to expose create length of field as a property of the field obje
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-71112@lists.php.net to get a copy of this message
 ID:               31015
 Updated by:       georg@php.net
 Reported By:      newey499 at hotmail dot com
-Status:           Assigned
+Status:           Closed
 Bug Type:         Feature/Change Request
 Operating System: w2k
 PHP Version:      5.0.2
 Assigned To:      georg
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Please note that you need MySQL >= 4.1.8 to determine the 
correct length when using character sets which need more 
than 1 byte per character. (see 
http://bugs.mysql.com/bug.php?id=6911) 


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

[2004-12-08 06:37:07] georg@php.net

I will implemented this after fix of MySQL bug #6911
(http://bugs.mysql.com/?id=6911&edit=2).

Currently it's not possible to determine the correct length for certain
character sets (like utf8).

------------------------------------------------------------------------

[2004-12-08 03:24:34] newey499 at hotmail dot com

Description:
------------
mysqli Object

Exposing the create length of a field as a property of the field object
would IMHO be a useful enhancement.

I suspect it should be fairly straightforward as it looks like the
field object is acting as a wrapper for the MYSQL_FIELD struct.

Reproduce code:
---------------
N/A

Expected result:
----------------
N/A

Actual result:
--------------
N/A


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31015&edit=1


Thread (3 messages)

« previous php.bugs (#71112) next »