Lines Matching refs:info

86     if (!is_array($info = mysqli_get_client_stats()) || empty($info))
87 printf("[002] Expecting array/any_non_empty, got %s/%s\n", gettype($info), $info);
89 var_dump($info);
100 if (count($info) != count($new_info)) {
102 var_dump($info);
108 mysqli_get_client_stats_assert_gt('bytes_sent', $new_info, $info, $test_counter);
109 mysqli_get_client_stats_assert_gt('bytes_received', $new_info, $info, $test_counter);
110 mysqli_get_client_stats_assert_gt('packets_sent', $new_info, $info, $test_counter);
111 mysqli_get_client_stats_assert_gt('packets_received', $new_info, $info, $test_counter);
112 mysqli_get_client_stats_assert_gt('protocol_overhead_in', $new_info, $info, $test_counter);
113 mysqli_get_client_stats_assert_gt('protocol_overhead_out', $new_info, $info, $test_counter);
116 mysqli_get_client_stats_assert_eq('result_set_queries', $new_info, $info, $test_counter);
119 mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, $info, $test_counter);
120 mysqli_get_client_stats_assert_eq('buffered_sets', $new_info, $info, $test_counter);
121 mysqli_get_client_stats_assert_eq('unbuffered_sets', $new_info, $info, $test_counter);
122 mysqli_get_client_stats_assert_eq('ps_buffered_sets', $new_info, $info, $test_counter);
123 mysqli_get_client_stats_assert_eq('ps_unbuffered_sets', $new_info, $info, $test_counter);
125 mysqli_get_client_stats_assert_eq('rows_skipped_ps', $new_info, $info, $test_counter);
126 mysqli_get_client_stats_assert_eq('copy_on_write_saved', $new_info, $info, $test_counter);
127 mysqli_get_client_stats_assert_eq('copy_on_write_performed', $new_info, $info, $test_counter);
128 mysqli_get_client_stats_assert_eq('command_buffer_too_small', $new_info, $info, $test_counter);
132 mysqli_get_client_stats_assert_eq('connect_failure', $new_info, $info, $test_counter);
133 mysqli_get_client_stats_assert_eq('connection_reused', $new_info, $info, $test_counter);
140 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
142 ++$test_counter, gettype($info), $info);
145 $expected = $info;
158 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
160 ++$test_counter, gettype($info), $info);
162 mysqli_get_client_stats_assert_gt('bytes_sent', $info, $expected, $test_counter);
163 mysqli_get_client_stats_assert_gt('bytes_received', $info, $expected, $test_counter);
166 mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, "0", $test_counter);
167 mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, "0", $test_counter);
169 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
170 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_buffered', $info, $expected, $t…
171 mysqli_get_client_stats_assert_eq('buffered_sets', $info, $expected, $test_counter);
172 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
173 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_normal', $info, $expected, $test_coun…
182 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
184 ++$test_counter, gettype($info), $info);
187 …mysqli_get_client_stats_assert_gt('bytes_received_real_data_normal', $info, $expected, $test_count…
188 $expected['bytes_received_real_data_normal'] = $info['bytes_received_real_data_normal'];
189 mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, "0", $test_counter);
191 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
192 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_buffered', $info, $expected, $t…
193 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_normal', $info, $expected, $test_coun…
206 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
208 ++$test_counter, gettype($info), $info);
216 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
218 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
219 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_buffered', $info, $expected, $t…
220 mysqli_get_client_stats_assert_eq('buffered_sets', $info, $expected, $test_counter);
221 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
222 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_normal', $info, $expected, $test_coun…
223 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_normal', $info, $expected, $test_coun…
228 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
230 ++$test_counter, gettype($info), $info);
233 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
234 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
235 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_buffered', $info, $expected, $t…
242 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
244 ++$test_counter, gettype($info), $info);
246 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
247 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_unbuffered', $info, $expected, …
248 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
259 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
261 ++$test_counter, gettype($info), $info);
263 …mysqli_get_client_stats_assert_gt('bytes_received_real_data_normal', $info, $expected, $test_count…
264 $expected['bytes_received_real_data_normal'] = $info['bytes_received_real_data_normal'];
266 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
267 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_unbuffered', $info, $expected, …
268 mysqli_get_client_stats_assert_eq('unbuffered_sets', $info, $expected, $test_counter);
269 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
284 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
286 ++$test_counter, gettype($info), $info);
288 …mysqli_get_client_stats_assert_gt('bytes_received_real_data_normal', $info, $expected, $test_count…
289 $expected['bytes_received_real_data_normal'] = $info['bytes_received_real_data_normal'];
291 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
292 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_unbuffered', $info, $expected, …
293 mysqli_get_client_stats_assert_eq('unbuffered_sets', $info, $expected, $test_counter);
294 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
302 $expected['rows_skipped_normal'] = (string)($info['rows_skipped_normal'] + 1);
305 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
307 ++$test_counter, gettype($info), $info);
309 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
311 …mysqli_get_client_stats_assert_eq('rows_fetched_from_server_normal', $info, $expected, $test_count…
312 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_normal_unbuffered', $info, $expected, …
313 mysqli_get_client_stats_assert_eq('rows_skipped_normal', $info, $expected, $test_counter);
314 mysqli_get_client_stats_assert_eq('flushed_normal_sets', $info, $expected, $test_counter);
327 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
328 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_ps_buffered', $info, $expected, $test_…
335 mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, "0", $test_counter);
336 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
344 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
346 ++$test_counter, gettype($info), $info);
348 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
349 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_ps_buffered', $info, $expected, $test_…
350 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
351 mysqli_get_client_stats_assert_eq('ps_buffered_sets', $info, $expected, $test_counter);
352 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_ps', $info, $expected, $test_counter);
354 mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, "0", $test_counter);
381 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
383 ++$test_counter, gettype($info), $info);
386 … mysqli_get_client_stats_assert_gt('bytes_received_real_data_ps', $info, $expected, $test_counter);
387 $expected['bytes_received_real_data_ps'] = $info['bytes_received_real_data_ps'];
389 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
390 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_ps_buffered', $info, $expected, $test_…
391 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
392 mysqli_get_client_stats_assert_eq('ps_buffered_sets', $info, $expected, $test_counter);
393 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_ps', $info, $expected, $test_counter);
422 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
424 ++$test_counter, gettype($info), $info);
426 … mysqli_get_client_stats_assert_gt('bytes_received_real_data_ps', $info, $expected, $test_counter);
427 $expected['bytes_received_real_data_ps'] = $info['bytes_received_real_data_ps'];
429 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
430 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_ps_buffered', $info, $expected, $test_…
431 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
432 mysqli_get_client_stats_assert_eq('ps_buffered_sets', $info, $expected, $test_counter);
433 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_ps', $info, $expected, $test_counter);
435 $expected['rows_skipped_ps'] = $info['rows_skipped_ps'];
438 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
440 ++$test_counter, gettype($info), $info);
443 mysqli_get_client_stats_assert_eq('rows_skipped_ps', $info, $expected, $test_counter);
467 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
469 ++$test_counter, gettype($info), $info);
471 … mysqli_get_client_stats_assert_gt('bytes_received_real_data_ps', $info, $expected, $test_counter);
472 $expected['bytes_received_real_data_ps'] = $info['bytes_received_real_data_ps'];
474 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
475 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_ps_unbuffered', $info, $expected, $tes…
476 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
477 mysqli_get_client_stats_assert_eq('ps_unbuffered_sets', $info, $expected, $test_counter);
478 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_ps', $info, $expected, $test_counter);
502 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
504 ++$test_counter, gettype($info), $info);
506 … mysqli_get_client_stats_assert_gt('bytes_received_real_data_ps', $info, $expected, $test_counter);
507 $expected['bytes_received_real_data_ps'] = $info['bytes_received_real_data_ps'];
509 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
510 …mysqli_get_client_stats_assert_eq('rows_fetched_from_client_ps_unbuffered', $info, $expected, $tes…
511 mysqli_get_client_stats_assert_eq('result_set_queries', $info, $expected, $test_counter);
512 mysqli_get_client_stats_assert_eq('ps_unbuffered_sets', $info, $expected, $test_counter);
513 …mysqli_get_client_stats_assert_eq('rows_buffered_from_client_ps', $info, $expected, $test_counter);
520 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
522 ++$test_counter, gettype($info), $info);
524 … mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, $expected, $test_counter);
526 mysqli_get_client_stats_assert_eq('rows_skipped_ps', $info, $expected, $test_counter);
527 mysqli_get_client_stats_assert_eq('flushed_ps_sets', $info, $expected, $test_counter);
528 … mysqli_get_client_stats_assert_eq('rows_fetched_from_server_ps', $info, $expected, $test_counter);
532 foreach ($info as $k => $v)
533 if ($info[$k] != $expected[$k])
538 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
540 ++$test_counter, gettype($info), $info);
542 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
543 … mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, $expected, $test_counter);
549 if (!is_array($info = mysqli_get_client_stats()) || empty($info))
551 ++$test_counter, gettype($info), $info);
571 …mysqli_get_client_stats_assert_eq('result_set_queries', $new_info, (string)($info['result_set_quer…
572 $info = $new_info;
574 …mysqli_get_client_stats_assert_gt('bytes_received_real_data_normal', $info, $expected, $test_count…
575 $expected['bytes_received_real_data_normal'] = $info['bytes_received_real_data_normal'];
593 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
595 $info = $new_info;
605 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
607 $info = $new_info;
622 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
624 $info = $new_info;
634 $info = $new_info;
644 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
647 $info = $new_info;
662 $info = $new_info;
671 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
672 $info = $new_info;
681 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
682 $info = $new_info;
690 $info = $new_info;
699 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
700 $info = $new_info;
710 $info = $new_info;
721 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
722 $info = $new_info;
731 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
732 $info = $new_info;
741 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
742 $info = $new_info;
745 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
746 … mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, $expected, $test_counter);
765 $info = $new_info;
774 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
775 $info = $new_info;
784 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
785 $info = $new_info;
794 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
795 $info = $new_info;
806 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, $info, $test_counter, 'SELE…
807 $info = $new_info;
816 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
817 $info = $new_info;
826 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
827 $info = $new_info;
840 …mysqli_get_client_stats_assert_eq('non_result_set_queries', $new_info, (string)($info['non_result_…
841 $info = $new_info;
846 …mysqli_get_client_stats_assert_eq('bytes_received_real_data_normal', $info, $expected, $test_count…
847 … mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, $expected, $test_counter);
875 …mysqli_get_client_stats_assert_eq('unbuffered_sets', $new_info, (string)($info['unbuffered_sets'] …
876 $info = $new_info;
892 …mysqli_get_client_stats_assert_eq('buffered_sets', $new_info, (string)($info['buffered_sets'] + 1)…
893 $info = $new_info;
897 …mysqli_get_client_stats_assert_gt('bytes_received_real_data_normal', $info, $expected, $test_count…
898 $expected['bytes_received_real_data_normal'] = $info['bytes_received_real_data_normal'];
899 … mysqli_get_client_stats_assert_eq('bytes_received_real_data_ps', $info, $expected, $test_counter);