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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ordnas@php.net
New email:
PHP Version: OS:

 

 [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: Tue Apr 23 17:01:31 2024 UTC