Lines Matching refs:info
85 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
86 printf("[002] Expecting array/any_non_empty, got %s/%s\n", gettype($info), $info);
88 var_dump($info);
99 if (count($info) != count($new_info)) {
101 var_dump($info);
107 mysqli_get_client_stats_assert_gt('bytes_sent', $new_info, $info, $test_counter);
108 mysqli_get_client_stats_assert_gt('bytes_received', $new_info, $info, $test_counter);
109 mysqli_get_client_stats_assert_gt('packets_sent', $new_info, $info, $test_counter);
110 mysqli_get_client_stats_assert_gt('packets_received', $new_info, $info, $test_counter);
111 mysqli_get_client_stats_assert_gt('protocol_overhead_in', $new_info, $info, $test_counter);
112 mysqli_get_client_stats_assert_gt('protocol_overhead_out', $new_info, $info, $test_counter);
115 mysqli_get_client_stats_assert_eq('result_set_queries', $new_info, $info, $test_counter);
118 mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, $info, $test_counter);
119 mysqli_get_client_stats_assert_eq('buffered_sets', $new_info, $info, $test_counter);
120 mysqli_get_client_stats_assert_eq('unbuffered_sets', $new_info, $info, $test_counter);
121 mysqli_get_client_stats_assert_eq('ps_buffered_sets', $new_info, $info, $test_counter);
122 mysqli_get_client_stats_assert_eq('ps_unbuffered_sets', $new_info, $info, $test_counter);
124 mysqli_get_client_stats_assert_eq('rows_skipped_ps', $new_info, $info, $test_counter);
125 mysqli_get_client_stats_assert_eq('copy_on_write_saved', $new_info, $info, $test_counter);
126 mysqli_get_client_stats_assert_eq('copy_on_write_performed', $new_info, $info, $test_counter);
127 mysqli_get_client_stats_assert_eq('command_buffer_too_small', $new_info, $info, $test_counter);
131 mysqli_get_client_stats_assert_eq('connect_failure', $new_info, $info, $test_counter);
132 mysqli_get_client_stats_assert_eq('connection_reused', $new_info, $info, $test_counter);
139 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
141 ++$test_counter, gettype($info), $info);
144 $expected = $info;
157 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
159 ++$test_counter, gettype($info), $info);
161 mysqli_get_client_stats_assert_gt('bytes_sent', $info, $expected, $test_counter);
162 mysqli_get_client_stats_assert_gt('bytes_received', $info, $expected, $test_counter);
165 mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, "0", $test_counter);
166 mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, "0", $test_counter);
168 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
169 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_buffered', $info, $expected, $t…
170 mysqli_get_client_stats_assert_eq('buffered_sets', $info, $expected, $test_counter);
171 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
172 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_normal', $info, $expected, $test_coun…
181 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
183 ++$test_counter, gettype($info), $info);
186 …mysqli_get_client_stats_assert_gt('bytes_received_real_data_normal', $info, $expected, $test_count…
187 $expected['bytes_received_real_data_normal'] = $info['bytes_received_real_data_normal'];
188 mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, "0", $test_counter);
190 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
191 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_buffered', $info, $expected, $t…
192 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_normal', $info, $expected, $test_coun…
205 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
207 ++$test_counter, gettype($info), $info);
215 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
217 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
218 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_buffered', $info, $expected, $t…
219 mysqli_get_client_stats_assert_eq('buffered_sets', $info, $expected, $test_counter);
220 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
221 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_normal', $info, $expected, $test_coun…
222 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_normal', $info, $expected, $test_coun…
227 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
229 ++$test_counter, gettype($info), $info);
232 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
233 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
234 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_buffered', $info, $expected, $t…
241 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
243 ++$test_counter, gettype($info), $info);
245 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
246 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_unbuffered', $info, $expected, …
247 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
258 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
260 ++$test_counter, gettype($info), $info);
262 …mysqli_get_client_stats_assert_gt('bytes_received_real_data_normal', $info, $expected, $test_count…
263 $expected['bytes_received_real_data_normal'] = $info['bytes_received_real_data_normal'];
265 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
266 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_unbuffered', $info, $expected, …
267 mysqli_get_client_stats_assert_eq('unbuffered_sets', $info, $expected, $test_counter);
268 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
283 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
285 ++$test_counter, gettype($info), $info);
287 …mysqli_get_client_stats_assert_gt('bytes_received_real_data_normal', $info, $expected, $test_count…
288 $expected['bytes_received_real_data_normal'] = $info['bytes_received_real_data_normal'];
290 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
291 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_unbuffered', $info, $expected, …
292 mysqli_get_client_stats_assert_eq('unbuffered_sets', $info, $expected, $test_counter);
293 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
301 $expected['rows_skipped_normal'] = (string)($info['rows_skipped_normal'] + 1);
304 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
306 ++$test_counter, gettype($info), $info);
308 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
310 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
311 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_unbuffered', $info, $expected, …
312 mysqli_get_client_stats_assert_eq('rows_skipped_normal', $info, $expected, $test_counter);
313 mysqli_get_client_stats_assert_eq('flushed_normal_sets', $info, $expected, $test_counter);
326 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
327 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_ps_buffered', $info, $expected, $test_…
334 mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, "0", $test_counter);
335 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
343 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
345 ++$test_counter, gettype($info), $info);
347 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
348 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_ps_buffered', $info, $expected, $test_…
349 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
350 mysqli_get_client_stats_assert_eq('ps_buffered_sets', $info, $expected, $test_counter);
351 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_ps', $info, $expected, $test_counter);
353 mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, "0", $test_counter);
380 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
382 ++$test_counter, gettype($info), $info);
385 … mysqli_get_client_stats_assert_gt('bytes_received_real_data_ps', $info, $expected, $test_counter);
386 $expected['bytes_received_real_data_ps'] = $info['bytes_received_real_data_ps'];
388 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
389 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_ps_buffered', $info, $expected, $test_…
390 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
391 mysqli_get_client_stats_assert_eq('ps_buffered_sets', $info, $expected, $test_counter);
392 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_ps', $info, $expected, $test_counter);
421 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
423 ++$test_counter, gettype($info), $info);
425 … mysqli_get_client_stats_assert_gt('bytes_received_real_data_ps', $info, $expected, $test_counter);
426 $expected['bytes_received_real_data_ps'] = $info['bytes_received_real_data_ps'];
428 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
429 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_ps_buffered', $info, $expected, $test_…
430 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
431 mysqli_get_client_stats_assert_eq('ps_buffered_sets', $info, $expected, $test_counter);
432 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_ps', $info, $expected, $test_counter);
434 $expected['rows_skipped_ps'] = $info['rows_skipped_ps'];
437 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
439 ++$test_counter, gettype($info), $info);
442 mysqli_get_client_stats_assert_eq('rows_skipped_ps', $info, $expected, $test_counter);
466 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
468 ++$test_counter, gettype($info), $info);
470 … mysqli_get_client_stats_assert_gt('bytes_received_real_data_ps', $info, $expected, $test_counter);
471 $expected['bytes_received_real_data_ps'] = $info['bytes_received_real_data_ps'];
473 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
474 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_ps_unbuffered', $info, $expected, $tes…
475 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
476 mysqli_get_client_stats_assert_eq('ps_unbuffered_sets', $info, $expected, $test_counter);
477 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_ps', $info, $expected, $test_counter);
501 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
503 ++$test_counter, gettype($info), $info);
505 … mysqli_get_client_stats_assert_gt('bytes_received_real_data_ps', $info, $expected, $test_counter);
506 $expected['bytes_received_real_data_ps'] = $info['bytes_received_real_data_ps'];
508 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
509 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_ps_unbuffered', $info, $expected, $tes…
510 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
511 mysqli_get_client_stats_assert_eq('ps_unbuffered_sets', $info, $expected, $test_counter);
512 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_ps', $info, $expected, $test_counter);
519 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
521 ++$test_counter, gettype($info), $info);
523 … mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, $expected, $test_counter);
525 mysqli_get_client_stats_assert_eq('rows_skipped_ps', $info, $expected, $test_counter);
526 mysqli_get_client_stats_assert_eq('flushed_ps_sets', $info, $expected, $test_counter);
527 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
531 foreach ($info as $k => $v)
532 if ($info[$k] != $expected[$k])
537 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
539 ++$test_counter, gettype($info), $info);
541 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
542 … mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, $expected, $test_counter);
548 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
550 ++$test_counter, gettype($info), $info);
570 …mysqli_get_client_stats_assert_eq('result_set_queries', $new_info, (string)($info['result_set_quer…
571 $info = $new_info;
573 …mysqli_get_client_stats_assert_gt('bytes_received_real_data_normal', $info, $expected, $test_count…
574 $expected['bytes_received_real_data_normal'] = $info['bytes_received_real_data_normal'];
592 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
594 $info = $new_info;
604 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
606 $info = $new_info;
621 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
623 $info = $new_info;
633 $info = $new_info;
643 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
646 $info = $new_info;
661 $info = $new_info;
670 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
671 $info = $new_info;
680 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
681 $info = $new_info;
689 $info = $new_info;
698 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
699 $info = $new_info;
709 $info = $new_info;
720 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
721 $info = $new_info;
730 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
731 $info = $new_info;
740 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
741 $info = $new_info;
744 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
745 … mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, $expected, $test_counter);
764 $info = $new_info;
773 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
774 $info = $new_info;
783 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
784 $info = $new_info;
793 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
794 $info = $new_info;
805 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, $info, $test_counter, 'SELE…
806 $info = $new_info;
815 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
816 $info = $new_info;
825 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
826 $info = $new_info;
839 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
840 $info = $new_info;
845 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
846 … mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, $expected, $test_counter);
874 …mysqli_get_client_stats_assert_eq('unbuffered_sets', $new_info, (string)($info['unbuffered_sets'] …
875 $info = $new_info;
891 …mysqli_get_client_stats_assert_eq('buffered_sets', $new_info, (string)($info['buffered_sets'] + 1)…
892 $info = $new_info;
896 …mysqli_get_client_stats_assert_gt('bytes_received_real_data_normal', $info, $expected, $test_count…
897 $expected['bytes_received_real_data_normal'] = $info['bytes_received_real_data_normal'];
898 … mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, $expected, $test_counter);