Lines Matching refs:trace
60 …trace_file = sprintf('%s%s%s', sys_get_temp_dir(), DIRECTORY_SEPARATOR, 'mysqli_debug_phpt.trace');
62 $trace = try_control_string($link, 't:O,' . $trace_file, $trace_file, 10);
63 if (!strstr($trace, 'SELECT * FROM test') && !strstr($trace, 'mysql_real_query'))
64 printf("[015] SELECT query cannot be found in trace. Trace contents seems wrong.\n");
68 $trace = try_control_string($link, 't:O,' . $trace_file . ':T', $trace_file, 20);
69 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))
70 …ly (and fix the test, if needed :-)). First characters from trace are '%s'\n", substr($trace, 0, 8…
77 $trace = try_control_string($link, 't:O,' . $trace_file . ':i', $trace_file, 30);
78 if (!preg_match("@^" . $pid . "*@ismU", $trace))
79 …"[035] Process ID has not been found, first characters from trace are '%s'\n", substr($trace, 0, 8…
82 $trace = try_control_string($link, 't:O,' . $trace_file . ':L', $trace_file, 40);
83 if (!preg_match("@^[\d]+@ismU", $trace))
84 …45] Line numbers have not been found, first characters from trace are '%s'\n", substr($trace, 0, 8…
87 $trace = try_control_string($link, 't:O,' . $trace_file . ':F', $trace_file, 50);
89 if (!preg_match("@^\s*[/\w\\\\d\.:\-]+\.[ch]@ismU", $trace))
90 …"[055] File names seem to be missing, first characters from trace are '%s'\n", substr($trace, 0, 8…
93 $trace = try_control_string($link, 't:O,' . $trace_file . ':n', $trace_file, 60);
94 if (!preg_match("@^\d+:@ismU", $trace))
95 …65] Nesting level seem to be missing, first characters from trace are '%s'\n", substr($trace, 0, 8…
98 $trace = try_control_string($link, 't,1:n:O,' . $trace_file, $trace_file, 70);
99 $lines = explode("\n", $trace);
103 …printf("[075] Nesting level seem to be missing, first characters from trace are '%s'\n", substr($l…
106 … Nesting level seem to be %d, should not be higher than 1, first characters from trace are '%s'\n",
114 $trace = try_control_string($link, 'n:O,' . $trace_file, $trace_file, 80);
115 $lines = explode("\n", $trace);
119 …ks like a function call, but there should be none in the trace file, first characters from trace a…
145 …printf("[105] Looks like not all functions are listed in the trace. Check manually, dumping diff."…
203 // m - trace memory allocations
204 $trace = try_control_string($link, 't:O,' . $trace_file . ':m', $trace_file, 120);
205 if (!preg_match("@^[|\s]*>\_mysqlnd_p?efree@ismU", $trace, $matches) &&
206 !preg_match("@^[|\s]*>\_mysqlnd_p?emalloc@ismU", $trace, $matches)) {
208 var_dump($trace);
221 [083][control string 'n:O,%smysqli_debug_phpt.trace'] Trace file has not been written.