summaryrefslogtreecommitdiff
path: root/sql/sql_trigger.cc
diff options
context:
space:
mode:
authorMithun C Y <mithun.c.y@oracle.com>2015-02-25 11:44:19 +0530
committerMithun C Y <mithun.c.y@oracle.com>2015-02-25 11:44:19 +0530
commit2e3c2cd3625598d6de940b51675dd6a979676ed9 (patch)
tree5352b7e97fc2c84261c0ca33f643b516f99e43a9 /sql/sql_trigger.cc
parentcd81a719430d493bdffc8c2132fdad4c351c0f02 (diff)
downloadmariadb-git-2e3c2cd3625598d6de940b51675dd6a979676ed9.tar.gz
Bug #20049521: CRASH IN MERGE_BUFFERS FILESORT.C WHEN INNODB WITH ORDER BY.
ISSUE: ------ There can be up to MERGEBUFF2 number of sorted merge chunks, We need enough buffer space for at least one record from each merge chunks. If estimates are wrong(very low) and we allocate buffer space for less than MERGEBUFF2, then we will have issue in merge_buffers, if actual number of rows to be sorted is bigger than estimate and external filesort is chosen. SOLUTION: --------- Set number of rows to sort to be at least MERGEBUFF2.
Diffstat (limited to 'sql/sql_trigger.cc')
0 files changed, 0 insertions, 0 deletions