cvs: pear /MDB2 MDB2.php package.php
| From: | Lorenzo Alberton | Date: | Sun, 23 Sep 2007 18:17:05 +0000 |
| Subject: | cvs: pear /MDB2 MDB2.php package.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-48652@lists.php.net to get a copy of this message | ||
quipo Sun Sep 23 18:17:05 2007 UTC
Modified files:
/pear/MDB2 MDB2.php package.php
Log:
fixed bug #11612: raiseError() must be compatible with PEAR::raiseError() [PHP6]
http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2.php?r1=1.297&r2=1.298&diff_format=u
Index: pear/MDB2/MDB2.php
diff -u pear/MDB2/MDB2.php:1.297 pear/MDB2/MDB2.php:1.298
--- pear/MDB2/MDB2.php:1.297 Sun Sep 23 17:24:31 2007
+++ pear/MDB2/MDB2.php Sun Sep 23 18:17:05 2007
@@ -43,7 +43,7 @@
// | Author: Lukas Smith <smith@pooteeweet.org> |
// +----------------------------------------------------------------------+
//
-// $Id: MDB2.php,v 1.297 2007/09/23 17:24:31 quipo Exp $
+// $Id: MDB2.php,v 1.298 2007/09/23 18:17:05 quipo Exp $
//
/**
@@ -594,7 +594,13 @@
* @access private
* @see PEAR_Error
*/
- function &raiseError($code = null, $mode = null, $options = null, $userinfo = null)
+ function &raiseError($code = null,
+ $mode = null,
+ $options = null,
+ $userinfo = null,
+ $dummy1 = null,
+ $dummy2 = null,
+ $dummy3 = false)
{
$err =& PEAR::raiseError(null, $code, $mode, $options, $userinfo,
'MDB2_Error', true);
return $err;
@@ -986,10 +992,10 @@
* @param mixed MDB2 error code, or string with error message.
* @param int what 'error mode' to operate in
* @param int what error level to use for $mode & PEAR_ERROR_TRIGGER
- * @param smixed additional debug info, such as the last query
+ * @param mixed additional debug info, such as the last query
*/
function MDB2_Error($code = MDB2_ERROR, $mode = PEAR_ERROR_RETURN,
- $level = E_USER_NOTICE, $debuginfo = null)
+ $level = E_USER_NOTICE, $debuginfo = null, $dummy = null)
{
if (is_null($code)) {
$code = MDB2_ERROR;
http://cvs.php.net/viewvc.cgi/pear/MDB2/package.php?r1=1.265&r2=1.266&diff_format=u
Index: pear/MDB2/package.php
diff -u pear/MDB2/package.php:1.265 pear/MDB2/package.php:1.266
--- pear/MDB2/package.php:1.265 Sun Sep 23 17:24:32 2007
+++ pear/MDB2/package.php Sun Sep 23 18:17:05 2007
@@ -14,11 +14,11 @@
- fixed bug #11428: propagate quote() errors with invalid data types
- added new test cases in the test suite
- added LENGTH() function in the Function module
+- fixed bug #11612: raiseError() must be compatible with PEAR::raiseError() [PHP6]
- fixed bug #11790: avoid array_diff() because it has a memory leak in PHP 5.1.x
- fixed bug #11906: quoteIdentifier fails for names with dots
- fixed bug #11975: Extended::autoExecute() does not work with Oracle when using LOBs
(patch by Pieter Meulen, van der)
-
open todo items:
- handle autoincrement fields in alterTable()
- add length handling to LOB reverse engineering