Commit cb325eb2 authored by Sergey Petrunya's avatar Sergey Petrunya

Fix buildbot compile failure on hardy-amd64-makedist:

invoke proper Item_int constructor.
parent 8a06a7e3
...@@ -17977,7 +17977,8 @@ static void select_describe(JOIN *join, bool need_tmp_table, bool need_order, ...@@ -17977,7 +17977,8 @@ static void select_describe(JOIN *join, bool need_tmp_table, bool need_order,
/* rows */ /* rows */
ha_rows rows= (sj_strategy == SJ_OPT_MATERIALIZE_SCAN)? ha_rows rows= (sj_strategy == SJ_OPT_MATERIALIZE_SCAN)?
tab->emb_sj_nest->sj_mat_info->rows : 1; tab->emb_sj_nest->sj_mat_info->rows : 1;
item_list.push_back(new Item_int(rows)); item_list.push_back(new Item_int((longlong)rows,
MY_INT64_NUM_DECIMAL_DIGITS));
/* filtered */ /* filtered */
if (join->thd->lex->describe & DESCRIBE_EXTENDED) if (join->thd->lex->describe & DESCRIBE_EXTENDED)
item_list.push_back(new Item_float(1.0, 2)); item_list.push_back(new Item_float(1.0, 2));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment