cvs: pear /DB package.xml /DB/DB mysql.php mysqli.php
| From: | Adam Harvey | Date: | Fri, 29 Dec 2006 07:46:35 +0000 |
| Subject: | cvs: pear /DB package.xml /DB/DB mysql.php mysqli.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-43877@lists.php.net to get a copy of this message | ||
aharvey Fri Dec 29 07:46:35 2006 UTC
Modified files:
/pear/DB package.xml
/pear/DB/DB mysql.php mysqli.php
Log:
Added support for new error codes in MySQL 5.
http://cvs.php.net/viewvc.cgi/pear/DB/package.xml?r1=1.198&r2=1.199&diff_format=u
Index: pear/DB/package.xml
diff -u pear/DB/package.xml:1.198 pear/DB/package.xml:1.199
--- pear/DB/package.xml:1.198 Fri Dec 29 06:01:09 2006
+++ pear/DB/package.xml Fri Dec 29 07:46:34 2006
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<package version="1.0">
- <!-- $Id: package.xml,v 1.198 2006/12/29 06:01:09 aharvey Exp $ -->
+ <!-- $Id: package.xml,v 1.199 2006/12/29 07:46:34 aharvey Exp $ -->
<name>DB</name>
<summary>Database Abstraction Layer</summary>
<description>
@@ -90,10 +90,12 @@
mysql:
* fixed handling of fully qualified table names in tableInfo(). Bug 4272.
+* Added support for new error codes in MySQL 5.
mysqli:
* worked around an issue in 'len' handling of tableInfo(). There is a bug in
ext/mysqli or the mysqli docs. Bug 5680.
+* Added support for new error codes in MySQL 5.
pgsql:
* When inserting to non-existant column, produce
http://cvs.php.net/viewvc.cgi/pear/DB/DB/mysql.php?r1=1.120&r2=1.121&diff_format=u
Index: pear/DB/DB/mysql.php
diff -u pear/DB/DB/mysql.php:1.120 pear/DB/DB/mysql.php:1.121
--- pear/DB/DB/mysql.php:1.120 Fri Jun 9 11:58:57 2006
+++ pear/DB/DB/mysql.php Fri Dec 29 07:46:34 2006
@@ -20,7 +20,7 @@
* @author Daniel Convissor <danielc@php.net>
* @copyright 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: mysql.php,v 1.120 2006/06/09 11:58:57 danielc Exp $
+ * @version CVS: $Id: mysql.php,v 1.121 2006/12/29 07:46:34 aharvey Exp $
* @link http://pear.php.net/package/DB
*/
@@ -111,6 +111,9 @@
1146 => DB_ERROR_NOSUCHTABLE,
1216 => DB_ERROR_CONSTRAINT,
1217 => DB_ERROR_CONSTRAINT,
+ 1356 => DB_ERROR_DIVZERO,
+ 1451 => DB_ERROR_CONSTRAINT,
+ 1452 => DB_ERROR_CONSTRAINT,
);
/**
http://cvs.php.net/viewvc.cgi/pear/DB/DB/mysqli.php?r1=1.72&r2=1.73&diff_format=u
Index: pear/DB/DB/mysqli.php
diff -u pear/DB/DB/mysqli.php:1.72 pear/DB/DB/mysqli.php:1.73
--- pear/DB/DB/mysqli.php:1.72 Fri Jun 9 11:58:57 2006
+++ pear/DB/DB/mysqli.php Fri Dec 29 07:46:34 2006
@@ -19,7 +19,7 @@
* @author Daniel Convissor <danielc@php.net>
* @copyright 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: mysqli.php,v 1.72 2006/06/09 11:58:57 danielc Exp $
+ * @version CVS: $Id: mysqli.php,v 1.73 2006/12/29 07:46:34 aharvey Exp $
* @link http://pear.php.net/package/DB
*/
@@ -114,6 +114,9 @@
1146 => DB_ERROR_NOSUCHTABLE,
1216 => DB_ERROR_CONSTRAINT,
1217 => DB_ERROR_CONSTRAINT,
+ 1356 => DB_ERROR_DIVZERO,
+ 1451 => DB_ERROR_CONSTRAINT,
+ 1452 => DB_ERROR_CONSTRAINT,
);
/**