Problem with sybase_get_last_message
| From: | Steve | Date: | Sat, 10 Jan 2009 14:49:56 +0000 |
| Subject: | Problem with sybase_get_last_message | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-285967@lists.php.net to get a copy of this message | ||
I'm running into PHP Bug #11262:
It would be wonderful if PHP could discard error #3621 (Command has
been aborted.) This message is a pain, because when something goes
wrong, sybase gives the real error, and then also gives this second
useless message. This means that if a query fails,
sybase_get_last_message will return "Command has been aborted"
rather than the real error message.
--
This bug is from 2001 and still occurs in PHP 4.4.9. Does anyone
know how to get the real message out of sybase?
Thanks,
Steve