Lines Matching refs:info
83 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
84 printf("[002] Expecting array/any_non_empty, got %s/%s\n", gettype($info), $info);
86 var_dump($info);
97 if (count($info) != count($new_info)) {
99 var_dump($info);
105 mysqli_get_client_stats_assert_gt('bytes_sent', $new_info, $info, $test_counter);
106 mysqli_get_client_stats_assert_gt('bytes_received', $new_info, $info, $test_counter);
107 mysqli_get_client_stats_assert_gt('packets_sent', $new_info, $info, $test_counter);
108 mysqli_get_client_stats_assert_gt('packets_received', $new_info, $info, $test_counter);
109 mysqli_get_client_stats_assert_gt('protocol_overhead_in', $new_info, $info, $test_counter);
110 mysqli_get_client_stats_assert_gt('protocol_overhead_out', $new_info, $info, $test_counter);
113 mysqli_get_client_stats_assert_eq('result_set_queries', $new_info, $info, $test_counter);
115 mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, $info, $test_counter);
116 mysqli_get_client_stats_assert_eq('buffered_sets', $new_info, $info, $test_counter);
117 mysqli_get_client_stats_assert_eq('unbuffered_sets', $new_info, $info, $test_counter);
118 mysqli_get_client_stats_assert_eq('ps_buffered_sets', $new_info, $info, $test_counter);
119 mysqli_get_client_stats_assert_eq('ps_unbuffered_sets', $new_info, $info, $test_counter);
121 mysqli_get_client_stats_assert_eq('rows_skipped_ps', $new_info, $info, $test_counter);
122 mysqli_get_client_stats_assert_eq('copy_on_write_saved', $new_info, $info, $test_counter);
123 mysqli_get_client_stats_assert_eq('copy_on_write_performed', $new_info, $info, $test_counter);
124 mysqli_get_client_stats_assert_eq('command_buffer_too_small', $new_info, $info, $test_counter);
128 mysqli_get_client_stats_assert_eq('connect_failure', $new_info, $info, $test_counter);
129 mysqli_get_client_stats_assert_eq('connection_reused', $new_info, $info, $test_counter);
136 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
138 ++$test_counter, gettype($info), $info);
141 $expected = $info;
154 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
156 ++$test_counter, gettype($info), $info);
158 mysqli_get_client_stats_assert_gt('bytes_sent', $info, $expected, $test_counter);
159 mysqli_get_client_stats_assert_gt('bytes_received', $info, $expected, $test_counter);
162 mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, "0", $test_counter);
163 mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, "0", $test_counter);
165 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
166 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_buffered', $info, $expected, $t…
167 mysqli_get_client_stats_assert_eq('buffered_sets', $info, $expected, $test_counter);
168 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
169 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_normal', $info, $expected, $test_coun…
178 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
180 ++$test_counter, gettype($info), $info);
183 …mysqli_get_client_stats_assert_gt('bytes_received_real_data_normal', $info, $expected, $test_count…
184 $expected['bytes_received_real_data_normal'] = $info['bytes_received_real_data_normal'];
185 mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, "0", $test_counter);
187 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
188 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_buffered', $info, $expected, $t…
189 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_normal', $info, $expected, $test_coun…
202 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
204 ++$test_counter, gettype($info), $info);
212 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
214 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
215 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_buffered', $info, $expected, $t…
216 mysqli_get_client_stats_assert_eq('buffered_sets', $info, $expected, $test_counter);
217 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
218 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_normal', $info, $expected, $test_coun…
219 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_normal', $info, $expected, $test_coun…
224 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
226 ++$test_counter, gettype($info), $info);
229 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
230 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
231 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_buffered', $info, $expected, $t…
238 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
240 ++$test_counter, gettype($info), $info);
242 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
243 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_unbuffered', $info, $expected, …
244 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
255 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
257 ++$test_counter, gettype($info), $info);
259 …mysqli_get_client_stats_assert_gt('bytes_received_real_data_normal', $info, $expected, $test_count…
260 $expected['bytes_received_real_data_normal'] = $info['bytes_received_real_data_normal'];
262 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
263 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_unbuffered', $info, $expected, …
264 mysqli_get_client_stats_assert_eq('unbuffered_sets', $info, $expected, $test_counter);
265 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
280 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
282 ++$test_counter, gettype($info), $info);
284 …mysqli_get_client_stats_assert_gt('bytes_received_real_data_normal', $info, $expected, $test_count…
285 $expected['bytes_received_real_data_normal'] = $info['bytes_received_real_data_normal'];
287 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
288 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_unbuffered', $info, $expected, …
289 mysqli_get_client_stats_assert_eq('unbuffered_sets', $info, $expected, $test_counter);
290 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
298 $expected['rows_skipped_normal'] = (string)($info['rows_skipped_normal'] + 1);
301 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
303 ++$test_counter, gettype($info), $info);
305 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
307 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
308 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_unbuffered', $info, $expected, …
309 mysqli_get_client_stats_assert_eq('rows_skipped_normal', $info, $expected, $test_counter);
310 mysqli_get_client_stats_assert_eq('flushed_normal_sets', $info, $expected, $test_counter);
323 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
324 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_ps_buffered', $info, $expected, $test_…
331 mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, "0", $test_counter);
332 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
340 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
342 ++$test_counter, gettype($info), $info);
344 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
345 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_ps_buffered', $info, $expected, $test_…
346 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
347 mysqli_get_client_stats_assert_eq('ps_buffered_sets', $info, $expected, $test_counter);
348 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_ps', $info, $expected, $test_counter);
350 mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, "0", $test_counter);
377 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
379 ++$test_counter, gettype($info), $info);
382 … mysqli_get_client_stats_assert_gt('bytes_received_real_data_ps', $info, $expected, $test_counter);
383 $expected['bytes_received_real_data_ps'] = $info['bytes_received_real_data_ps'];
385 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
386 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_ps_buffered', $info, $expected, $test_…
387 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
388 mysqli_get_client_stats_assert_eq('ps_buffered_sets', $info, $expected, $test_counter);
389 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_ps', $info, $expected, $test_counter);
418 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
420 ++$test_counter, gettype($info), $info);
422 … mysqli_get_client_stats_assert_gt('bytes_received_real_data_ps', $info, $expected, $test_counter);
423 $expected['bytes_received_real_data_ps'] = $info['bytes_received_real_data_ps'];
425 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
426 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_ps_buffered', $info, $expected, $test_…
427 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
428 mysqli_get_client_stats_assert_eq('ps_buffered_sets', $info, $expected, $test_counter);
429 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_ps', $info, $expected, $test_counter);
431 $expected['rows_skipped_ps'] = $info['rows_skipped_ps'];
434 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
436 ++$test_counter, gettype($info), $info);
439 mysqli_get_client_stats_assert_eq('rows_skipped_ps', $info, $expected, $test_counter);
463 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
465 ++$test_counter, gettype($info), $info);
467 … mysqli_get_client_stats_assert_gt('bytes_received_real_data_ps', $info, $expected, $test_counter);
468 $expected['bytes_received_real_data_ps'] = $info['bytes_received_real_data_ps'];
470 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
471 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_ps_unbuffered', $info, $expected, $tes…
472 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
473 mysqli_get_client_stats_assert_eq('ps_unbuffered_sets', $info, $expected, $test_counter);
474 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_ps', $info, $expected, $test_counter);
498 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
500 ++$test_counter, gettype($info), $info);
502 … mysqli_get_client_stats_assert_gt('bytes_received_real_data_ps', $info, $expected, $test_counter);
503 $expected['bytes_received_real_data_ps'] = $info['bytes_received_real_data_ps'];
505 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
506 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_ps_unbuffered', $info, $expected, $tes…
507 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
508 mysqli_get_client_stats_assert_eq('ps_unbuffered_sets', $info, $expected, $test_counter);
509 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_ps', $info, $expected, $test_counter);
516 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
518 ++$test_counter, gettype($info), $info);
520 … mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, $expected, $test_counter);
522 mysqli_get_client_stats_assert_eq('rows_skipped_ps', $info, $expected, $test_counter);
523 mysqli_get_client_stats_assert_eq('flushed_ps_sets', $info, $expected, $test_counter);
524 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
528 foreach ($info as $k => $v)
529 if ($info[$k] != $expected[$k])
534 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
536 ++$test_counter, gettype($info), $info);
538 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
539 … mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, $expected, $test_counter);
545 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
547 ++$test_counter, gettype($info), $info);
567 …mysqli_get_client_stats_assert_eq('result_set_queries', $new_info, (string)($info['result_set_quer…
568 $info = $new_info;
570 …mysqli_get_client_stats_assert_gt('bytes_received_real_data_normal', $info, $expected, $test_count…
571 $expected['bytes_received_real_data_normal'] = $info['bytes_received_real_data_normal'];
589 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
591 $info = $new_info;
601 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
603 $info = $new_info;
618 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
629 $info = $new_info;
639 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
656 $info = $new_info;
665 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
666 $info = $new_info;
675 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
683 $info = $new_info;
692 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
702 $info = $new_info;
713 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
714 $info = $new_info;
723 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
724 $info = $new_info;
733 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
734 $info = $new_info;
737 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
738 … mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, $expected, $test_counter);
757 $info = $new_info;
766 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
767 $info = $new_info;
776 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
777 $info = $new_info;
786 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
787 $info = $new_info;
798 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, $info, $test_counter, 'SELE…
799 $info = $new_info;
808 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
809 $info = $new_info;
818 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
819 $info = $new_info;
832 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
833 $info = $new_info;
838 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
839 … mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, $expected, $test_counter);
867 …mysqli_get_client_stats_assert_eq('unbuffered_sets', $new_info, (string)($info['unbuffered_sets'] …
868 $info = $new_info;
884 …mysqli_get_client_stats_assert_eq('buffered_sets', $new_info, (string)($info['buffered_sets'] + 1)…
885 $info = $new_info;
889 …mysqli_get_client_stats_assert_gt('bytes_received_real_data_normal', $info, $expected, $test_count…
890 $expected['bytes_received_real_data_normal'] = $info['bytes_received_real_data_normal'];
891 … mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, $expected, $test_counter);