Fix buildbot compile failure on hardy-amd64-makedist:

invoke proper Item_int constructor.
This commit is contained in:
Sergey Petrunya 2010-03-30 00:09:40 +04:00
parent 8a06a7e3a7
commit cb325eb2b2

View File

@ -17977,7 +17977,8 @@ static void select_describe(JOIN *join, bool need_tmp_table, bool need_order,
/* rows */
ha_rows rows= (sj_strategy == SJ_OPT_MATERIALIZE_SCAN)?
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 */
if (join->thd->lex->describe & DESCRIBE_EXTENDED)
item_list.push_back(new Item_float(1.0, 2));