Re: cvs: php-src /ext/mysqli mysqli_nonapi.c
| From: | Georg Richter | Date: | Wed, 22 Mar 2006 17:21:58 +0000 |
| Subject: | Re: cvs: php-src /ext/mysqli mysqli_nonapi.c | ||
| References: | 1 2 3 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-37420@lists.php.net to get a copy of this message | ||
Am Mi, den 22.03.2006 schrieb Ilia Alshanetsky um 18:10:
Hello Ilia,
> 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.
All functions which need to send something to server will crash.
We will extend mysql->status (adding a new enum value
MYSQL_STATUS_INITIALIZED in MySQL 5.1 - for older versions I will
implement this in PHP).
I will commit fix tomorrow.
/Georg
--
Georg Richter, Senior Software Developer
MySQL AB, www.mysql.com
Are you MySQL certified? www.mysql.com/certification