Commit 827fe156 authored by sergefp@mysql.com's avatar sergefp@mysql.com

Remove deadcode in select_dumpvar::send_data()

parent f2471d85
...@@ -1853,15 +1853,10 @@ bool select_dumpvar::send_data(List<Item> &items) ...@@ -1853,15 +1853,10 @@ bool select_dumpvar::send_data(List<Item> &items)
Item_func_set_user_var *xx; Item_func_set_user_var *xx;
Item_splocal *yy; Item_splocal *yy;
my_var *zz; my_var *zz;
DBUG_ENTER("send_data"); DBUG_ENTER("select_dumpvar::send_data");
if (unit->offset_limit_cnt)
{ // using limit offset,count
unit->offset_limit_cnt--;
DBUG_RETURN(0);
}
if (unit->offset_limit_cnt) if (unit->offset_limit_cnt)
{ // Using limit offset,count { // using limit offset,count
unit->offset_limit_cnt--; unit->offset_limit_cnt--;
DBUG_RETURN(0); DBUG_RETURN(0);
} }
......
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