note 49147 deleted from function.ifx-getsqlca by nlopess
| From: | nlopess@php.net | Date: | Tue, 18 Jan 2005 10:36:35 +0000 |
| Subject: | note 49147 deleted from function.ifx-getsqlca by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-83546@lists.php.net to get a copy of this message | ||
Note Submitter: phpervy
----
Seems, the above example1 woun't work.
In case when ifx_query() fails it returns FALSE as result id.
When ifx_getsqlca gets false as result id, it complains:
<b>Warning</b>: ifx_getsqlca(): supplied resource is not a valid Informix Result
resource in <b>
This is actually a BUG, since when the sql-query fails, it is stll neccessary sometimes, to get the
sqlca structure. E.g. to get the ISAM error.