From: Andrey Hristov Date: Mon, 31 May 2010 16:53:33 +0000 (+0000) Subject: Fix test X-Git-Tag: php-5.4.0alpha1~191^2~1377 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8fc1e91e61b30f9b5b3e971ff4f1c52a3871239f;p=php Fix test --- diff --git a/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt b/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt index 4765d64872..b8dd11a699 100644 --- a/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt +++ b/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt @@ -99,7 +99,7 @@ require_once('skipifconnectfailure.inc'); if (!($res = mysqli_query($link, "SELECT count(id) AS num FROM test")) || !($tmp = mysqli_fetch_assoc($res))) - printf("[017] [%d] %s\n", mysqli_errnor($link), mysqli_error($link)); + printf("[017] [%d] %s\n", mysqli_error($link), mysqli_error($link)); $num = (int)$tmp['num']; mysqli_free_result($res);