Sources/ViewQuery.php 1 location
|
@@ 113-118 (lines=6) @@
|
| 110 |
|
// Temporary tables created in earlier queries are not explainable. |
| 111 |
|
if ($is_select_query) |
| 112 |
|
{ |
| 113 |
|
foreach (array('log_topics_unread', 'topics_posted_in', 'tmp_log_search_topics', 'tmp_log_search_messages') as $tmp) |
| 114 |
|
if (strpos($select, $tmp) !== false) |
| 115 |
|
{ |
| 116 |
|
$is_select_query = false; |
| 117 |
|
break; |
| 118 |
|
} |
| 119 |
|
} |
| 120 |
|
|
| 121 |
|
echo ' |
Sources/Logging.php 1 location
|
@@ 316-321 (lines=6) @@
|
| 313 |
|
// Temporary tables created in earlier queries are not explainable. |
| 314 |
|
if ($is_select) |
| 315 |
|
{ |
| 316 |
|
foreach (array('log_topics_unread', 'topics_posted_in', 'tmp_log_search_topics', 'tmp_log_search_messages') as $tmp) |
| 317 |
|
if (strpos(trim($qq['q']), $tmp) !== false) |
| 318 |
|
{ |
| 319 |
|
$is_select = false; |
| 320 |
|
break; |
| 321 |
|
} |
| 322 |
|
} |
| 323 |
|
// But actual creation of the temporary tables are. |
| 324 |
|
elseif (preg_match('~^CREATE TEMPORARY TABLE .+?SELECT .+$~s', trim($qq['q'])) != 0) |