rpms/php-pear-MDB2-Driver-mysql/F-8 php-pear-MDB2-Driver-mysql-1.4.1-lob.patch, NONE, 1.1

Christopher Stone (xulchris) fedora-extras-commits at redhat.com
Wed Nov 14 01:25:47 UTC 2007


Author: xulchris

Update of /cvs/extras/rpms/php-pear-MDB2-Driver-mysql/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7389

Added Files:
	php-pear-MDB2-Driver-mysql-1.4.1-lob.patch 
Log Message:
add patch for bz #379081

php-pear-MDB2-Driver-mysql-1.4.1-lob.patch:

--- NEW FILE php-pear-MDB2-Driver-mysql-1.4.1-lob.patch ---
http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2/Driver/mysql.php?r1=1.182&r2=1.183&diff_format=u
Index: pear/MDB2/MDB2/Driver/mysql.php
diff -u pear/MDB2/MDB2/Driver/mysql.php:1.182 pear/MDB2/MDB2/Driver/mysql.php:1.183
--- MDB2/Driver/mysql.php:1.182	Wed May  2 22:00:08 2007
+++ MDB2/Driver/mysql.php	Thu May  3 22:20:20 2007
@@ -43,7 +43,7 @@
 // | Author: Lukas Smith <smith at pooteeweet.org>                           |
 // +----------------------------------------------------------------------+
 //
-// $Id: mysql.php,v 1.182 2007/05/02 22:00:08 quipo Exp $
+// $Id: mysql.php,v 1.183 2007/05/03 22:20:20 davidc Exp $
 //
 
 /**
@@ -1398,7 +1398,7 @@
                 }
                 $value = $this->values[$parameter];
                 $type = array_key_exists($parameter, $this->types) ? $this->types[$parameter] : null;
-                if (is_resource($value) || $type == 'clob' || $type == 'blob') {
+                if (is_resource($value) || $type == 'clob' || $type == 'blob' && $this->options['lob_allow_url_include']) {
                     if (!is_resource($value) && preg_match('/^(\w+:\/\/)(.*)$/', $value, $match)) {
                         if ($match[1] == 'file://') {
                             $value = $match[2];
@@ -1476,4 +1476,4 @@
         return $result;
     }
 }
-?>
\ No newline at end of file
+?>




More information about the fedora-extras-commits mailing list