php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25468 DB_Error::getMessage() and failed foreign key constraint
Submitted: 2003-09-10 08:46 UTC Modified: 2003-09-10 09:31 UTC
From: ordnas@php.net Assigned:
Status: Closed Package: PEAR related
PHP Version: 4.3.3 OS: Linux
Private report: No CVE-ID: None
 [2003-09-10 08:46 UTC] 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'. 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-10 09:31 UTC] cox@php.net
Fixed in CVS, will be there in the next release. Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 03:01:29 2024 UTC