mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MWL#205 DELETE with result set (mdev-3814)
Includes all post-review fixes as well.
This commit is contained in:
@@ -2281,7 +2281,8 @@ int select_send::send_data(List<Item> &items)
|
||||
Protocol *protocol= thd->protocol;
|
||||
DBUG_ENTER("select_send::send_data");
|
||||
|
||||
if (unit->offset_limit_cnt)
|
||||
/* unit is not set when using 'delete ... returning' */
|
||||
if (unit && unit->offset_limit_cnt)
|
||||
{ // using limit offset,count
|
||||
unit->offset_limit_cnt--;
|
||||
DBUG_RETURN(FALSE);
|
||||
|
Reference in New Issue
Block a user