mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge branch '5.5' into 10.1
This commit is contained in:
@ -4372,7 +4372,10 @@ void SELECT_LEX::increase_derived_records(ha_rows records)
|
||||
DBUG_ASSERT(unit->derived);
|
||||
|
||||
select_union *result= (select_union*)unit->result;
|
||||
result->records+= records;
|
||||
if (HA_ROWS_MAX - records > result->records)
|
||||
result->records+= records;
|
||||
else
|
||||
result->records= HA_ROWS_MAX;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user