]> granicus.if.org Git - php/commitdiff
Fixing test. Can't wait to see the new run-tests materialize for detecting skip secti...
authorUlf Wendel <uw@php.net>
Tue, 22 Sep 2009 06:59:04 +0000 (06:59 +0000)
committerUlf Wendel <uw@php.net>
Tue, 22 Sep 2009 06:59:04 +0000 (06:59 +0000)
ext/mysqli/tests/mysqli_poll_reference.phpt

index eb14e740447bbaafc70a041205ee67527bd192e5..59ef4dcec2f547aabc96d790c419b13a1f209c33 100644 (file)
@@ -13,10 +13,9 @@ if (!$IS_MYSQLND)
 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
        die("skip cannot connect");
 
-if (mysqli_server_version($link) < 50012))
+if (mysqli_server_version($link) < 50012)
        die("skip Test needs SQL function SLEEP() available as of MySQL 5.0.12");
 
-mysqli_close($link);
 ?>
 --FILE--
 <?php