Re: cvs: php-src /ext/mysqli mysqli_nonapi.c
| From: | Georg Richter | Date: | Wed, 22 Mar 2006 09:48:02 +0000 |
| Subject: | Re: cvs: php-src /ext/mysqli mysqli_nonapi.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-37411@lists.php.net to get a copy of this message | ||
Am Di, den 21.03.2006 schrieb Ilia Alshanetsky um 16:35:
Hello Ilia,
>
> - if (mysql_set_character_set(mysql->mysql, cs_name)) {
> + if (!mysql->mysql->thread_id || mysql_set_character_set(mysql->mysql, cs_name)) {
This fixes the problem only for this function - not in general. I'm
already working on a better fix. I will reopen the bug.
Please note, that checking thread_id will not work for embedded server.
/Georg
--
Georg Richter, Senior Software Developer
MySQL AB, www.mysql.com
Are you MySQL certified? www.mysql.com/certification