Diff for /embedaddon/php/ext/mysqli/tests/mysqli_stmt_affected_rows.phpt between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 23:47:58 version 1.1.1.2, 2013/07/22 01:31:56
Line 63  require_once('skipifconnectfailure.inc'); Line 63  require_once('skipifconnectfailure.inc');
                 // NOTE: the error message varies with the MySQL Server version, dump only the error code!                  // NOTE: the error message varies with the MySQL Server version, dump only the error code!
                 printf("[009] [%d] (error message varies with the MySQL Server version, check the error code)\n", mysqli_stmt_errno($stmt));                  printf("[009] [%d] (error message varies with the MySQL Server version, check the error code)\n", mysqli_stmt_errno($stmt));
   
        /* an error occured: affected rows should return -1 */        /* an error occurred: affected rows should return -1 */
         if (-1 !== ($tmp = mysqli_stmt_affected_rows($stmt)))          if (-1 !== ($tmp = mysqli_stmt_affected_rows($stmt)))
                 printf("[010] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);                  printf("[010] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
   

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>