summaryrefslogtreecommitdiff
path: root/ext/mysql/tests/mysql_affected_rows.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysql/tests/mysql_affected_rows.phpt')
-rw-r--r--ext/mysql/tests/mysql_affected_rows.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysql/tests/mysql_affected_rows.phpt b/ext/mysql/tests/mysql_affected_rows.phpt
index 9e2da44e3c..246991fa66 100644
--- a/ext/mysql/tests/mysql_affected_rows.phpt
+++ b/ext/mysql/tests/mysql_affected_rows.phpt
@@ -15,8 +15,8 @@ $link = NULL;
if (false !== ($tmp = @mysql_affected_rows()))
printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
-if (null !== ($tmp = @mysql_affected_rows($link)))
- printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
+if (false !== ($tmp = @mysql_affected_rows($link)))
+ printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
if (!is_null($tmp = @mysql_affected_rows($link, $link)))
printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);