#25468 [Opn->Csd]: DB_Error::getMessage() and failed foreign key constraint
| From: | cox@php.net | Date: | Wed, 10 Sep 2003 13:31:19 +0000 |
| Subject: | #25468 [Opn->Csd]: DB_Error::getMessage() and failed foreign key constraint | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-21359@lists.php.net to get a copy of this message | ||
ID: 25468
Updated by: cox@php.net
Reported By: ordnas@php.net
-Status: Open
+Status: Closed
Bug Type: PEAR related
Operating System: Linux
PHP Version: 4.3.3
New Comment:
Fixed in CVS, will be there in the next release. Thanks.
Previous Comments:
------------------------------------------------------------------------
[2003-09-10 08:46:28] ordnas@php.net
Description:
------------
DB_Error::getMessage() doesn't return any error message upon a
failed foreign key constraint in MySQL. The native MySQL error
message would be: '#1216 - Cannot add or update a child row: a
foreign key constraint fails'.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25468&edit=1