From e7606294b2bbd70be118cc81c5818dc643a770bf Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 26 Jun 2013 13:17:27 +0300 Subject: A fix of unions with duplicate rows and returning bug fix for lp:732124 union + limit returns wrong result --- sql/sql_union.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_union.cc') diff --git a/sql/sql_union.cc b/sql/sql_union.cc index fe361801c35..6a1e4d745e8 100644 --- a/sql/sql_union.cc +++ b/sql/sql_union.cc @@ -52,7 +52,7 @@ int select_union::prepare(List &list, SELECT_LEX_UNIT *u) } -bool select_union::send_data(List &values) +int select_union::send_data(List &values) { if (unit->offset_limit_cnt) { // using limit offset,count -- cgit v1.2.1