1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00
Files
mariadb/mysql-test/r
Sergey Vojtovich de8c70e70b BUG#11757032 - 49030: OPTIMIZE TABLE BREAKS MYISAM TABLE WHEN
USING MYISAM_USE_MMAP ON WINDOWS

When OPTIMIZE/REPAIR TABLE is switching to new data file,
old data file is removed while memory mapping is still
active.

With 5.1 implementation of nt_share_delete() it is not
permitted to remove mmaped file.

This fix disables memory mapping for mi_repair() operations.

mysql-test/r/myisam.result:
  A test case for BUG#11757032.
mysql-test/t/myisam.test:
  A test case for BUG#11757032.
storage/myisam/ha_myisam.cc:
  mi_repair*() functions family use file I/O even if memory
  mapping is available.
  
  Since mixing mmap I/O and file I/O may cause various artifacts,
  memory mapping must be disabled.
storage/myisam/mi_delete_all.c:
  Clean-up: do not attempt to remap file after truncate, since
  there is nothing to map.
2011-10-20 15:03:22 +04:00
..
2009-02-10 16:27:35 +03:00
2010-02-25 23:13:11 +04:00
2011-04-07 14:44:26 +03:00
2011-01-25 12:14:28 +05:30
2010-03-09 16:09:32 +01:00
2009-08-10 15:46:20 -03:00
2010-12-14 12:33:03 +03:00
2011-05-04 17:12:45 +02:00
2009-06-01 16:00:38 +04:00
2009-02-03 14:45:17 +01:00
2009-05-06 15:00:14 +05:30
2011-03-29 10:09:05 +02:00
2010-12-14 12:33:03 +03:00
2010-12-01 12:25:31 +05:30
2009-02-19 18:22:28 +01:00
2011-03-17 16:28:16 +05:30
2009-11-06 17:54:19 +03:00
2010-01-29 16:54:27 +02:00
2009-02-03 14:45:17 +01:00
2011-01-26 16:50:21 +01:00
2010-10-15 20:13:35 +05:00
2009-10-27 14:09:36 +04:00
2010-10-04 12:51:26 +04:00
2011-08-09 11:42:07 +04:00
2009-06-10 11:58:36 +03:00
2009-02-09 22:00:15 +01:00