cvs: pear /DB/DB mysql.php
| From: | Daniel Convissor | Date: | Thu, 29 Apr 2004 22:42:57 +0000 |
| Subject: | cvs: pear /DB/DB mysql.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-18992@lists.php.net to get a copy of this message | ||
danielc Thu Apr 29 18:42:57 2004 EDT
Modified files:
/pear/DB/DB mysql.php
Log:
Add 1217 (can't delete/add due to foreign key constraint) to errorcode_map.
http://cvs.php.net/diff.php/pear/DB/DB/mysql.php?r1=1.73&r2=1.74&ty=u
Index: pear/DB/DB/mysql.php
diff -u pear/DB/DB/mysql.php:1.73 pear/DB/DB/mysql.php:1.74
--- pear/DB/DB/mysql.php:1.73 Thu Apr 29 18:41:29 2004
+++ pear/DB/DB/mysql.php Thu Apr 29 18:42:57 2004
@@ -17,7 +17,7 @@
// | Maintainer: Daniel Convissor <danielc@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: mysql.php,v 1.73 2004/04/29 22:41:29 danielc Exp $
+// $Id: mysql.php,v 1.74 2004/04/29 22:42:57 danielc Exp $
// XXX legend:
@@ -39,7 +39,7 @@
* This is for MySQL versions 4.0 and below.
*
* @package DB
- * @version $Id: mysql.php,v 1.73 2004/04/29 22:41:29 danielc Exp $
+ * @version $Id: mysql.php,v 1.74 2004/04/29 22:42:57 danielc Exp $
* @category Database
* @author Stig Bakken <ssb@php.net>
*/
@@ -94,6 +94,7 @@
1136 => DB_ERROR_VALUE_COUNT_ON_ROW,
1146 => DB_ERROR_NOSUCHTABLE,
1216 => DB_ERROR_CONSTRAINT,
+ 1217 => DB_ERROR_CONSTRAINT,
);
}