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:
@ -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();
|
||||
|
Reference in New Issue
Block a user