andrey                                   Wed, 29 Sep 2010 11:40:57 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=303854

Log:
fix the test

Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_stmt_num_rows.phpt
    U   php/php-src/trunk/ext/mysqli/tests/mysqli_stmt_num_rows.phpt

Modified: 
php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_stmt_num_rows.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_stmt_num_rows.phpt     
2010-09-29 09:24:24 UTC (rev 303853)
+++ php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_stmt_num_rows.phpt     
2010-09-29 11:40:57 UTC (rev 303854)
@@ -27,17 +27,17 @@
        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;
                }


Modified: php/php-src/trunk/ext/mysqli/tests/mysqli_stmt_num_rows.phpt
===================================================================
--- php/php-src/trunk/ext/mysqli/tests/mysqli_stmt_num_rows.phpt        
2010-09-29 09:24:24 UTC (rev 303853)
+++ php/php-src/trunk/ext/mysqli/tests/mysqli_stmt_num_rows.phpt        
2010-09-29 11:40:57 UTC (rev 303854)
@@ -27,17 +27,17 @@
        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;
                }


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to