#25468 [NEW]: DB_Error::getMessage() and failed foreign key constraint

From: Date: Wed, 10 Sep 2003 12:46:28 +0000
Subject: #25468 [NEW]: DB_Error::getMessage() and failed foreign key constraint
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-21353@lists.php.net to get a copy of this message
From: ordnas@php.net Operating system: Linux PHP version: 4.3.3 PHP Bug Type: PEAR related Bug description: DB_Error::getMessage() and failed foreign key constraint 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 bug report at http://bugs.php.net/?id=25468&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25468&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25468&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25468&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25468&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25468&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25468&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25468&r=support Expected behavior: http://bugs.php.net/fix.php?id=25468&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25468&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25468&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25468&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25468&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25468&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25468&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25468&r=gnused

« previous php.pear.dev (#21353) next »