johannes                Sun Oct 19 12:43:34 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/pdo_mysql/tests        mysql_pdo_test.inc 
  Log:
  MFH: fix mysqlnd detection
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_mysql/tests/mysql_pdo_test.inc?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/pdo_mysql/tests/mysql_pdo_test.inc
diff -u php-src/ext/pdo_mysql/tests/mysql_pdo_test.inc:1.1.2.2 
php-src/ext/pdo_mysql/tests/mysql_pdo_test.inc:1.1.2.3
--- php-src/ext/pdo_mysql/tests/mysql_pdo_test.inc:1.1.2.2      Mon Jul 21 
13:09:28 2008
+++ php-src/ext/pdo_mysql/tests/mysql_pdo_test.inc      Sun Oct 19 12:43:34 2008
@@ -155,7 +155,7 @@
                        phpinfo();
                        $tmp = ob_get_contents();
                        ob_end_clean();
-                       return (true == stristr($tmp, 'PDO Driver for MySQL, 
mysql native driver version'));
+                       return (bool)preg_match('/Client API 
version.*mysqlnd/', $tmp);
        }
 
 }



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to