1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug #27531: 5.1 part of the fix

- Renamed "Using join cache" to "Using join buffer".
- "Using join buffer" is now printed on the last
  table that "reads" from the join buffer cache.
This commit is contained in:
gkodinov/kgeorge@macbook.gmz
2007-05-29 15:58:18 +03:00
parent ad5dede765
commit fe03f6bbe0
31 changed files with 372 additions and 372 deletions

View File

@ -15564,8 +15564,8 @@ static void select_describe(JOIN *join, bool need_tmp_table, bool need_order,
break;
}
}
if (tab->next_select == sub_select_cache)
extra.append(STRING_WITH_LEN("; Using join cache"));
if (i > 0 && tab[-1].next_select == sub_select_cache)
extra.append(STRING_WITH_LEN("; Using join buffer"));
/* Skip initial "; "*/
const char *str= extra.ptr();