mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Post merge review fixes
* Remove duplicate lines from tests * Use thd instead of current_thd * Remove extra wsrep_binlog_format_names * Correctly merge union patch from 5.5 wrt duplicate rows. * Correctly merge SELinux changes into 10.1
This commit is contained in:
@ -17972,7 +17972,7 @@ do_select(JOIN *join,List<Item> *fields,TABLE *table,Procedure *procedure)
|
||||
error= NESTED_LOOP_OK; /* select_limit used */
|
||||
}
|
||||
|
||||
join->thd->limit_found_rows= join->send_records;
|
||||
join->thd->limit_found_rows= join->send_records - join->duplicate_rows;
|
||||
|
||||
if (error == NESTED_LOOP_NO_MORE_ROWS || join->thd->killed == ABORT_QUERY)
|
||||
error= NESTED_LOOP_OK;
|
||||
|
Reference in New Issue
Block a user