List:Commits« Previous MessageNext Message »
From:uwendel Date:March 16 2007 10:23am
Subject:PHP mysqlnd svn commit: r168 - trunk/ext/mysqli/tests
View as plain text  
Author: uwendel
Date: 2007-03-16 10:23:34 +0100 (Fri, 16 Mar 2007)
New Revision: 168

Modified:
   trunk/ext/mysqli/tests/mysqli_get_client_stats.phpt
Log:
Test is still not complete, but it won't fail any more.


Modified: trunk/ext/mysqli/tests/mysqli_get_client_stats.phpt
===================================================================
--- trunk/ext/mysqli/tests/mysqli_get_client_stats.phpt	2007-03-16 09:08:30 UTC (rev 167)
+++ trunk/ext/mysqli/tests/mysqli_get_client_stats.phpt	2007-03-16 09:23:34 UTC (rev 168)
@@ -12,16 +12,18 @@
 <?php        
     /*
     TODO
-    ps_buffered_sets
-    ps_unbuffered_sets
-    rows_fetched_from_server
-    rows_fetched_from_client
-    rows_skipped
-    copy_on_write_saved
-    copy_on_write_performed
-    command_buffer_too_small
-    connect_failure
-    connection_reused
+    no_index_used
+    bad_index_used
+    flushed_normal_sets
+    flushed_ps_sets  
+    explicit_close
+    implicit_close
+    disconnect_close
+    in_middle_of_command_close
+    explicit_free_result
+    implicit_free_result
+    explicit_stmt_close
+    implicit_stmt_close
     */    
 
     function mysqli_get_client_stats_assert_eq($field, $current, $expected,
&$test_counter, $desc = "") {
@@ -472,12 +474,25 @@
     $info = $new_info;
     
     
-    
+    /*
+    no_index_used
+    bad_index_used
+    flushed_normal_sets
+    flushed_ps_sets  
+    explicit_close
+    implicit_close
+    disconnect_close
+    in_middle_of_command_close
+    explicit_free_result
+    implicit_free_result
+    explicit_stmt_close
+    implicit_stmt_close
+    */
 
     print "done!";
 ?>
 --EXPECTF--
-array(21) {
+array(33) {
   ["bytes_sent"]=>
   string(1) "0"
   ["bytes_received"]=>
@@ -494,6 +509,10 @@
   string(1) "0"
   ["non_result_set_queries"]=>
   string(1) "0"
+  ["no_index_used"]=>
+  string(1) "0"
+  ["bad_index_used"]=>
+  string(1) "0"
   ["buffered_sets"]=>
   string(1) "0"
   ["unbuffered_sets"]=>
@@ -502,6 +521,10 @@
   string(1) "0"
   ["ps_unbuffered_sets"]=>
   string(1) "0"
+  ["flushed_normal_sets"]=>
+  string(1) "0"
+  ["flushed_ps_sets"]=>
+  string(1) "0"
   ["rows_fetched_from_server"]=>
   string(1) "0"
   ["rows_fetched_from_client"]=>
@@ -520,5 +543,21 @@
   string(1) "0"
   ["connection_reused"]=>
   string(1) "0"
+  ["explicit_close"]=>
+  string(1) "0"
+  ["implicit_close"]=>
+  string(1) "0"
+  ["disconnect_close"]=>
+  string(1) "0"
+  ["in_middle_of_command_close"]=>
+  string(1) "0"
+  ["explicit_free_result"]=>
+  string(1) "0"
+  ["implicit_free_result"]=>
+  string(1) "0"
+  ["explicit_stmt_close"]=>
+  string(1) "0"
+  ["implicit_stmt_close"]=>
+  string(1) "0"
 }
 done!
\ No newline at end of file

Thread
PHP mysqlnd svn commit: r168 - trunk/ext/mysqli/testsuwendel16 Mar