Author: uwendel
Date: 2007-07-03 18:40:28 +0200 (Tue, 03 Jul 2007)
New Revision: 609
Modified:
trunk/tests/ext/mysql/mysql_affected_rows.phpt
Log:
Code coverage: tiny change for simple default link check
Modified: trunk/tests/ext/mysql/mysql_affected_rows.phpt
===================================================================
--- trunk/tests/ext/mysql/mysql_affected_rows.phpt 2007-07-03 16:38:04 UTC (rev 608)
+++ trunk/tests/ext/mysql/mysql_affected_rows.phpt 2007-07-03 16:40:28 UTC (rev 609)
@@ -100,13 +100,16 @@
if (0 !== ($tmp = mysql_affected_rows($link)))
printf("[026] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
+ if (0 !== ($tmp = mysql_affected_rows()))
+ printf("[027] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
+
if (!mysql_query('DROP TABLE IF EXISTS test', $link))
- printf("[027] [%d] %s\n", mysql_errno($link), mysql_error($link));
+ printf("[028] [%d] %s\n", mysql_errno($link), mysql_error($link));
mysql_close($link);
if (false !== ($tmp = @mysql_affected_rows($link)))
- printf("[028] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
+ printf("[029] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
print "done!";
?>
| Thread |
|---|
| • PHP mysqlnd svn commit: r609 - trunk/tests/ext/mysql | uwendel | 3 Jul |