]> granicus.if.org Git - php/commitdiff
BORK hunting - Fixing SKIPIF
authorUlf Wendel <uw@php.net>
Tue, 6 Sep 2011 14:47:57 +0000 (14:47 +0000)
committerUlf Wendel <uw@php.net>
Tue, 6 Sep 2011 14:47:57 +0000 (14:47 +0000)
ext/mysqli/tests/mysqli_poll_reference.phpt

index 332f871afcfac9101716950613f5a590e0ed36c1..ab2ed2aee81e5accca3788661bb656d405063820 100644 (file)
@@ -13,7 +13,7 @@ if (!$IS_MYSQLND)
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
        die("skip cannot connect");
 
-if (mysqli_server_version($link) < 50012)
+if (mysqli_get_server_version($link) < 50012)
        die("skip Test needs SQL function SLEEP() available as of MySQL 5.0.12");
 
 ?>