uw                                       Thu, 27 May 2010 13:01:17 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=299850

Log:
Open server bug: mysqlnd works around it, libmysql fails. Let's skip because 
MySQL Server version tests are tricky and error prone.

Changed paths:
    U   
php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_change_user_insert_id.phpt
    U   php/php-src/trunk/ext/mysqli/tests/mysqli_change_user_insert_id.phpt

Modified: 
php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_change_user_insert_id.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_change_user_insert_id.phpt 
    2010-05-27 12:44:10 UTC (rev 299849)
+++ 
php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_change_user_insert_id.phpt 
    2010-05-27 13:01:17 UTC (rev 299850)
@@ -8,15 +8,7 @@
 require_once('connect.inc');

 if (!$IS_MYSQLND) {
-       if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, 
$socket))
-               die("skip Can't test server version, might hit known bugs 
http://bugs.mysql.com/bug.php?id=30472, 
http://bugs.mysql.com/bug.php?id=45184";);
-
-       if ((mysqli_get_client_version($link) <= 50139) || 
(mysqli_get_server_version($link) <= 50139))
-               /* #30472 got fixed in 5.1.23 but #45184 is open */
-               die(sprintf("skip libmysql %s should have bugs 
http://bugs.mysql.com/bug.php?id=30472, http://bugs.mysql.com/bug.php?id=45184";,
-        mysqli_get_client_version($link)));
-
-       mysqli_close($link);
+       die("skip Might hit known and open bugs 
http://bugs.mysql.com/bug.php?id=30472, 
http://bugs.mysql.com/bug.php?id=45184";);
 }
 ?>
 --FILE--

Modified: php/php-src/trunk/ext/mysqli/tests/mysqli_change_user_insert_id.phpt
===================================================================
--- php/php-src/trunk/ext/mysqli/tests/mysqli_change_user_insert_id.phpt        
2010-05-27 12:44:10 UTC (rev 299849)
+++ php/php-src/trunk/ext/mysqli/tests/mysqli_change_user_insert_id.phpt        
2010-05-27 13:01:17 UTC (rev 299850)
@@ -8,15 +8,7 @@
 require_once('connect.inc');

 if (!$IS_MYSQLND) {
-       if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, 
$socket))
-               die("skip Can't test server version, might hit known bugs 
http://bugs.mysql.com/bug.php?id=30472, 
http://bugs.mysql.com/bug.php?id=45184";);
-
-       if ((mysqli_get_client_version($link) <= 50139) || 
(mysqli_get_server_version($link) <= 50139))
-               /* #30472 got fixed in 5.1.23 but #45184 is open */
-               die(sprintf("skip libmysql %s should have bugs 
http://bugs.mysql.com/bug.php?id=30472, http://bugs.mysql.com/bug.php?id=45184";,
-        mysqli_get_client_version($link)));
-
-       mysqli_close($link);
+       die("skip Might hit known and open bugs 
http://bugs.mysql.com/bug.php?id=30472, 
http://bugs.mysql.com/bug.php?id=45184";);
 }
 ?>
 --FILE--

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

Reply via email to