svn: /php/php-src/ branches/PHP_5_3/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt trunk/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt
| From: | Andrey Hristov | Date: | Mon, 31 May 2010 16:53:33 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt trunk/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-62773@lists.php.net to get a copy of this message | ||
andrey Mon, 31 May 2010 16:53:33 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=299995
Log:
Fix test
Changed paths:
U php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt
U php/php-src/trunk/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt
Modified: php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt 2010-05-31 16:51:03
UTC (rev 299994)
+++ php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt 2010-05-31 16:53:33
UTC (rev 299995)
@@ -99,7 +99,7 @@
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);
Modified: php/php-src/trunk/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt
===================================================================
--- php/php-src/trunk/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt 2010-05-31 16:51:03 UTC (rev
299994)
+++ php/php-src/trunk/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt 2010-05-31 16:53:33 UTC (rev
299995)
@@ -99,7 +99,7 @@
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);