List:Commits« Previous MessageNext Message »
From:ahristov Date:September 6 2007 1:49pm
Subject:PHP mysqlnd svn commit: r999 - trunk/tests/ext/mysqli
View as plain text  
Author: ahristov
Date: 2007-09-06 15:49:30 +0200 (Thu, 06 Sep 2007)
New Revision: 999

Modified:
   trunk/tests/ext/mysqli/mysqli_get_client_stats_skipped.phpt
Log:
Fix the test too


Modified: trunk/tests/ext/mysqli/mysqli_get_client_stats_skipped.phpt
===================================================================
--- trunk/tests/ext/mysqli/mysqli_get_client_stats_skipped.phpt	2007-09-06 13:47:39 UTC
(rev 998)
+++ trunk/tests/ext/mysqli/mysqli_get_client_stats_skipped.phpt	2007-09-06 13:49:30 UTC
(rev 999)
@@ -36,7 +36,7 @@
 	$after = mysqli_get_client_stats();
 	printf("AFTER: rows_skipped_normal = %d\n", $after['rows_skipped_normal']);
 
-	if ($after['rows_skipped_normal'] + 1 != $before['rows_skipped_normal'])
+	if ($after['rows_skipped_normal'] != $before['rows_skipped_normal'] + 1)
 		printf("Statistics should show an increase of 1 for rows_skipped_normal, ".
 				"but before=%d after=%d\n", $before['rows_skipped_normal'],
$after['rows_skipped_normal']);
 

Thread
PHP mysqlnd svn commit: r999 - trunk/tests/ext/mysqliahristov6 Sep