Lines Matching refs:trace

62 …trace_file = sprintf('%s%s%s', sys_get_temp_dir(), DIRECTORY_SEPARATOR, 'mysqli_debug_phpt.trace');
64 $trace = try_control_string($link, 't:O,' . $trace_file, $trace_file, 10);
65 if (!strstr($trace, 'SELECT * FROM test') && !strstr($trace, 'mysql_real_query'))
66 printf("[015] SELECT query cannot be found in trace. Trace contents seems wrong.\n");
70 $trace = try_control_string($link, 't:O,' . $trace_file . ':T', $trace_file, 20);
71 if (!preg_match('@^[012]{0,1}[0-9]{1}:[0-5]{0,1}[0-9]{1}:[0-5]{0,1}[0-9]{1}@ismU', $trace))
72 …ly (and fix the test, if needed :-)). First characters from trace are '%s'\n", substr($trace, 0, 8…
79 $trace = try_control_string($link, 't:O,' . $trace_file . ':i', $trace_file, 30);
80 if (!preg_match("@^" . $pid . "*@ismU", $trace))
81 …"[035] Process ID has not been found, first characters from trace are '%s'\n", substr($trace, 0, 8…
84 $trace = try_control_string($link, 't:O,' . $trace_file . ':L', $trace_file, 40);
85 if (!preg_match("@^[\d]+@ismU", $trace))
86 …45] Line numbers have not been found, first characters from trace are '%s'\n", substr($trace, 0, 8…
89 $trace = try_control_string($link, 't:O,' . $trace_file . ':F', $trace_file, 50);
91 if (!preg_match("@^\s*[/\w\\\\d\.:\-]+\.[ch]@ismU", $trace))
92 …"[055] File names seem to be missing, first characters from trace are '%s'\n", substr($trace, 0, 8…
95 $trace = try_control_string($link, 't:O,' . $trace_file . ':n', $trace_file, 60);
96 if (!preg_match("@^\d+:@ismU", $trace))
97 …65] Nesting level seem to be missing, first characters from trace are '%s'\n", substr($trace, 0, 8…
100 $trace = try_control_string($link, 't,1:n:O,' . $trace_file, $trace_file, 70);
101 $lines = explode("\n", $trace);
105 …printf("[075] Nesting level seem to be missing, first characters from trace are '%s'\n", substr($l…
108 … Nesting level seem to be %d, should not be higher than 1, first characters from trace are '%s'\n",
116 $trace = try_control_string($link, 'n:O,' . $trace_file, $trace_file, 80);
117 $lines = explode("\n", $trace);
121 …ks like a function call, but there should be none in the trace file, first characters from trace a…
147 …printf("[105] Looks like not all functions are listed in the trace. Check manually, dumping diff."…
207 // m - trace memory allocations
208 $trace = try_control_string($link, 't:O,' . $trace_file . ':m', $trace_file, 120);
209 if (!preg_match("@^[|\s]*>\_mysqlnd_p?efree@ismU", $trace, $matches) &&
210 !preg_match("@^[|\s]*>\_mysqlnd_p?emalloc@ismU", $trace, $matches)) {
212 var_dump($trace);
228 [083][control string 'n:O,%smysqli_debug_phpt.trace'] Trace file has not been written.