diff options
author | Monty <monty@mariadb.org> | 2023-03-01 20:19:17 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2023-03-02 13:11:54 +0200 |
commit | bc3596fe129dc12977522243f92202609e06fdab (patch) | |
tree | f8af8fd7bde9b117eb18c7d7c2b2a20c07438b29 /mysql-test/suite | |
parent | bd9ca2a0e3dfb00da226822cea53bb856e8393f0 (diff) | |
download | mariadb-git-bc3596fe129dc12977522243f92202609e06fdab.tar.gz |
MMAP does not work reliable on windows
This error was discovered while working on
MDEV-30540 Wrong result with IN list length reaching
IN_PREDICATE_CONVERSION_THRESHOLD
Failing test: cte_recursive.test
If one writes to a file, then truncates it and then call mmap() over the
file_size + 7, then the file size changes to 7. (On Linux mmap() does not
change file size).
This caused _ma_read_rnd_dynamic_record() to believe that there are more
records in the data file, which is not the case, and the table will be
marked as corrupted.
Fixed by disabling mmap() in Aria on Windows.
Diffstat (limited to 'mysql-test/suite')
0 files changed, 0 insertions, 0 deletions