Re: cvs: php-src(PHP_5_0) /ext/mysqli mysqli_api.c
| From: | Georg Richter | Date: | Mon, 27 Dec 2004 15:11:31 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_0) /ext/mysqli mysqli_api.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-29672@lists.php.net to get a copy of this message | ||
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