MDEV-8475 stale .TMM file causes MyiSAM and Aria engine to stop serving the table
Monty authored
Issue was two fold (both in MyISAM and Aria)
- optimize and repair failed if there was an old .TMM file around. As optimized and repair are protected against multiple execution, I decided to change so that we just truncate the file if it exists.
- I had missed to check for error condition if creation of the temporary index file failed. This caused the strange behaviour that it looked as if optimized would have worked once.
92fd6583
Name Last commit Last update
BUILD MDEV-6650 - LINT_INIT emits code in non-debug builds
Docs MDEV-6247: Merge 10.0-galera to 10.1.
client Merge tag 'mariadb-10.0.20' into 10.1
cmake Merge tag 'mariadb-10.0.20' into 10.1
dbug MDEV-6410 Cross-compile fixes
debian Merge tag 'mariadb-10.0.20' into 10.1
extra Merge tag 'mariadb-10.0.20' into 10.1
include compilation failures on Windows
libmysql Merge tag 'mariadb-10.0.20' into 10.1
libmysqld MDEV-8126 encryption for temp files
libservices rename {sys_vars,sql_plugin_services}.h -> *.ic
man Merge 10.0.14 into 10.1
mysql-test MDEV-8475 stale .TMM file causes MyiSAM and Aria engine to stop serving the table
mysys Merge branch '10.0-galera' into 10.1
mysys_ssl MDEV-8281 aes_decrypt crashes in block_crypt()
packaging Merge tag 'mariadb-10.0.20' into 10.1
pcre CRLF
plugin Merge tag 'mariadb-10.0.20' into 10.1
policy Merge branch '10.0-galera' into 10.1
randgen/conf Group commit for maria engine.
scripts Merge branch '10.0-galera' into 10.1
sql-bench Merge branch '10.0' into merge-wip
sql-common Merge tag 'mariadb-10.0.20' into 10.1
sql MDEV-5096 - Wrong error message on attempt to kill somebody else's query ID
storage MDEV-8475 stale .TMM file causes MyiSAM and Aria engine to stop serving the table
strings
support-files
tests
unittest
vio
win
wsrep
zlib
.gitattributes
.gitignore
BUILD-CMAKE
CMakeLists.txt
COPYING
COPYING.LESSER
COPYING.thirdparty
CREDITS
EXCEPTIONS-CLIENT
INSTALL-SOURCE
INSTALL-WIN-SOURCE
KNOWN_BUGS.txt
README
VERSION
config.h.cmake
configure.cmake