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

Bug#31630 debug assert with explain extended select ... from i_s

added 'in_rows' column value for 'describe extended' for the case 
when 'describe' handles I_S table
This commit is contained in:
gluh@mysql.com/eagle.(none)
2007-11-02 12:39:14 +04:00
parent b0e9fa31af
commit 4198c2bcf5
3 changed files with 14 additions and 0 deletions

View File

@ -15819,6 +15819,10 @@ static void select_describe(JOIN *join, bool need_tmp_table, bool need_order,
/* Add "rows" field to item_list. */
if (table_list->schema_table)
{
/* in_rows */
if (join->thd->lex->describe & DESCRIBE_EXTENDED)
item_list.push_back(item_null);
/* rows */
item_list.push_back(item_null);
}
else