mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Backported the fix and the test case for bug 12822678 from the mysql-5.6 code line.
Fixed a bug in select_describe. Adjusted results for affected test cases.
This commit is contained in:
@ -20750,7 +20750,7 @@ static void select_describe(JOIN *join, bool need_tmp_table, bool need_order,
|
||||
keylen_str_buf);
|
||||
tmp3.append(keylen_str_buf, length, cs);
|
||||
}
|
||||
if (tab->select && tab->select->quick)
|
||||
if (tab->type != JT_CONST && tab->select && tab->select->quick)
|
||||
tab->select->quick->add_keys_and_lengths(&tmp2, &tmp3);
|
||||
if (key_info || (tab->select && tab->select->quick))
|
||||
{
|
||||
|
Reference in New Issue
Block a user