maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #02785
Rev 2787: Fix buildbot compile failure on hardy-amd64-makedist: in file:///home/psergey/dev/maria-5.3-subqueries-r10/
At file:///home/psergey/dev/maria-5.3-subqueries-r10/
------------------------------------------------------------
revno: 2787
revision-id: psergey@xxxxxxxxxxxx-20100329200940-9ikx6gpww0gtsx00
parent: psergey@xxxxxxxxxxxx-20100329140435-bb21mofh3i85tt4q
committer: Sergey Petrunya <psergey@xxxxxxxxxxxx>
branch nick: maria-5.3-subqueries-r10
timestamp: Tue 2010-03-30 00:09:40 +0400
message:
Fix buildbot compile failure on hardy-amd64-makedist:
invoke proper Item_int constructor.
=== modified file 'sql/sql_select.cc'
--- a/sql/sql_select.cc 2010-03-29 14:04:35 +0000
+++ b/sql/sql_select.cc 2010-03-29 20:09:40 +0000
@@ -17977,7 +17977,8 @@
/* 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));