Am Mo, den 27.12.2004 schrieb Marcus Boerger um 14:45:
> Hello Georg,
> 
>   why do you add new features to a branch?
> 

Hi Marcus,

cause it's an essential information: The metadata information for
prepared statements and normal statements differ, while one uses
max_length the other uses length.

Also MySQL < 4.1.8 returned the length in bytes (which was wrong), MySQL
>= 4.1.8 returns the length in characters. For example:

VARCHAR(50) CHARACTER SET UTF8 returned 150 before 4.1.8, in 4.1.8 it
returns 50. With information charsetnr + length you will be able to
handle this.

/Georg
-- 
Georg Richter, Senior Software Developer
MySQL AB, www.mysql.com

Are you MySQL certified?  www.mysql.com/certification

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to