1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MWL#182: Explain running statements

- Remove out-of-date comments, add dbug assertions.
This commit is contained in:
Sergey Petrunya
2012-06-25 18:39:26 +04:00
parent 45503698c1
commit 66c62de103
6 changed files with 8 additions and 18 deletions

View File

@ -10321,12 +10321,7 @@ void JOIN_TAB::cleanup()
if (cache)
{
cache->free();
cache= 0; // psergey: this is why we don't see "Using join cache" in SHOW EXPLAIN
// when it is run for "Using temporary+filesort" queries while they
// are at reading-from-tmp-table phase.
//
// TODO ask igor if this can be just moved to later phase
// (JOIN_CACHE objects themselves are not big, arent they)
cache= 0;
}
limit= 0;
if (table)