mariadb/storage/myisammrg
Konstantin Osipov 0e9b910d6b A test case for Bug#50788 "main.merge fails on HPUX",
and a backport of relevant changes from the 6.0
version of the fix done by Ingo Struewing.
The bug itself was fixed by the patch for Bug#54811.


MyISAMMRG engine would try to use MMAP on its children
even on platforms that don't support it and even if
myisam_use_mmap option was off.
This lead to an infinite hang in INSERT ... SELECT into 
a MyISAMMRG table when the destination MyISAM table
was also selected from.

A bug in duplicate detection fixed by 54811 was essential to 
the hang - when a duplicate is detected, the optimizer 
disables the use of memory mapped files, and it wasn't the case.

The patch below is also to not turn on MMAP on children tables
if myisam_use_mmap is off.
A test case is added to cover MyISAMMRG and myisam_use_mmap
option.
2010-07-02 19:21:07 +04:00
..
CMakeLists.txt Cleanup casing in MYSQL_ADD_PLUGIN, patch provided by Kent 2010-02-01 23:46:02 +01:00
ha_myisammrg.cc A test case for Bug#50788 "main.merge fails on HPUX", 2010-07-02 19:21:07 +04:00
ha_myisammrg.h
Makefile.am Another incarnation of the patch for Bug#30708 2010-05-19 17:00:23 +04:00
myrg_close.c
myrg_create.c
myrg_def.h
myrg_delete.c
myrg_extra.c
myrg_info.c
myrg_locking.c
myrg_open.c Manual merge of mysql-trunk into mysql-trunk-merge. 2010-03-24 18:03:44 +03:00
myrg_panic.c
myrg_queue.c Backport of 2010-05-31 17:38:02 +04:00
myrg_range.c
myrg_records.c
myrg_rfirst.c
myrg_rkey.c
myrg_rlast.c
myrg_rnext.c
myrg_rnext_same.c
myrg_rprev.c
myrg_rrnd.c
myrg_rsame.c
myrg_static.c
myrg_update.c
myrg_write.c
plug.in