Lines Matching refs:trace
63 …trace_file = sprintf('%s%s%s', sys_get_temp_dir(), DIRECTORY_SEPARATOR, 'mysqli_debug_phpt.trace');
65 $trace = try_control_string($link, 't:O,' . $trace_file, $trace_file, 10);
66 if (!strstr($trace, 'SELECT * FROM test') && !strstr($trace, 'mysql_real_query'))
67 printf("[015] SELECT query cannot be found in trace. Trace contents seems wrong.\n");
71 $trace = try_control_string($link, 't:O,' . $trace_file . ':T', $trace_file, 20);
72 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))
73 …ly (and fix the test, if needed :-)). First characters from trace are '%s'\n", substr($trace, 0, 8…
80 $trace = try_control_string($link, 't:O,' . $trace_file . ':i', $trace_file, 30);
81 if (!preg_match("@^" . $pid . "*@ismU", $trace))
82 …"[035] Process ID has not been found, first characters from trace are '%s'\n", substr($trace, 0, 8…
85 $trace = try_control_string($link, 't:O,' . $trace_file . ':L', $trace_file, 40);
86 if (!preg_match("@^[\d]+@ismU", $trace))
87 …45] Line numbers have not been found, first characters from trace are '%s'\n", substr($trace, 0, 8…
90 $trace = try_control_string($link, 't:O,' . $trace_file . ':F', $trace_file, 50);
92 if (!preg_match("@^\s*[/\w\\\\d\.:\-]+\.[ch]@ismU", $trace))
93 …"[055] File names seem to be missing, first characters from trace are '%s'\n", substr($trace, 0, 8…
96 $trace = try_control_string($link, 't:O,' . $trace_file . ':n', $trace_file, 60);
97 if (!preg_match("@^\d+:@ismU", $trace))
98 …65] Nesting level seem to be missing, first characters from trace are '%s'\n", substr($trace, 0, 8…
101 $trace = try_control_string($link, 't,1:n:O,' . $trace_file, $trace_file, 70);
102 $lines = explode("\n", $trace);
106 …printf("[075] Nesting level seem to be missing, first characters from trace are '%s'\n", substr($l…
109 … Nesting level seem to be %d, should not be higher than 1, first characters from trace are '%s'\n",
117 $trace = try_control_string($link, 'n:O,' . $trace_file, $trace_file, 80);
118 $lines = explode("\n", $trace);
122 …ks like a function call, but there should be none in the trace file, first characters from trace a…
148 …printf("[105] Looks like not all functions are listed in the trace. Check manually, dumping diff."…
208 // m - trace memory allocations
209 $trace = try_control_string($link, 't:O,' . $trace_file . ':m', $trace_file, 120);
210 if (!preg_match("@^[|\s]*>\_mysqlnd_p?efree@ismU", $trace, $matches) &&
211 !preg_match("@^[|\s]*>\_mysqlnd_p?emalloc@ismU", $trace, $matches)) {
213 var_dump($trace);
229 [083][control string 'n:O,%smysqli_debug_phpt.trace'] Trace file has not been written.