I tried a few other functions like get_warnings() and they don't seem to
mind a missing connection. So, I am not certain a generic solution is
required here.
ilia
Georg Richter wrote:
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
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php