diff options
author | Andrey Hristov <andrey@php.net> | 2010-09-29 11:40:57 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2010-09-29 11:40:57 +0000 |
commit | 517fd63c328b90ec0501cb9a10bc7f4398c8cb1d (patch) | |
tree | be977ea562c78e08aa9bac61f30c6491db6cdb63 /ext/mysqli | |
parent | a5459c09c99c9e4e7bd3e15108f8c20832716620 (diff) | |
download | php-git-517fd63c328b90ec0501cb9a10bc7f4398c8cb1d.tar.gz |
fix the test
Diffstat (limited to 'ext/mysqli')
-rw-r--r-- | ext/mysqli/tests/mysqli_stmt_num_rows.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysqli/tests/mysqli_stmt_num_rows.phpt b/ext/mysqli/tests/mysqli_stmt_num_rows.phpt index 28ee64fd51..0a21bb5471 100644 --- a/ext/mysqli/tests/mysqli_stmt_num_rows.phpt +++ b/ext/mysqli/tests/mysqli_stmt_num_rows.phpt @@ -27,17 +27,17 @@ require_once('skipifconnectfailure.inc'); function func_test_mysqli_stmt_num_rows($stmt, $query, $expected, $offset) { if (!mysqli_stmt_prepare($stmt, $query)) { - printf("[%03d] [%d] %s\n", $offset, mysqli_stmt_errno($stmt), mysqli_error($stmt)); + printf("[%03d] [%d] %s\n", $offset, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); return false; } if (!mysqli_stmt_execute($stmt)) { - printf("[%03d] [%d] %s\n", $offset + 1, mysqli_errno($stmt), mysqli_error($stmt)); + printf("[%03d] [%d] %s\n", $offset + 1, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); return false; } if (!mysqli_stmt_store_result($stmt)) { - printf("[%03d] [%d] %s\n", $offset + 2, mysqli_errno($stmt), mysqli_error($stmt)); + printf("[%03d] [%d] %s\n", $offset + 2, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); return false; } |