summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysqli/tests/mysqli_stmt_affected_rows.phpt')
-rw-r--r--ext/mysqli/tests/mysqli_stmt_affected_rows.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt b/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt
index 4765d6487..b8dd11a69 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);