mariadb/storage
unknown b1d833f7f2 Bug #18480 Windows file rename problems in archive storage engine
The problem was that the optimize code was not closing both the reader and writer streams before attempting
to rename the file.  This will not work on Windows where all file handles have to be closed before the
file can be renamed, moved, or deleted.  The fix was to move the close calls before the rename.
We return the error code from my_rename in case of failure but we attempt to reopen the writers and readers
even in the case of failure so that the table can still be usable.


storage/archive/ha_archive.cc:
  close the writer and reader before the rename so that the rename will work on Windows.
2006-05-16 08:55:08 -05:00
..
archive Bug #18480 Windows file rename problems in archive storage engine 2006-05-16 08:55:08 -05:00
bdb Rename cmakelists.txt -> CMakeLists.txt 2006-05-12 10:51:07 +02:00
blackhole manual merge bug#10952 2006-05-12 08:50:31 -07:00
csv Rename cmakelists.txt -> CMakeLists.txt 2006-05-12 10:51:07 +02:00
example Rename cmakelists.txt -> CMakeLists.txt 2006-05-12 10:51:07 +02:00
heap Rename cmakelists.txt -> CMakeLists.txt 2006-05-12 10:51:07 +02:00
innobase Rename cmakelists.txt -> CMakeLists.txt 2006-05-12 10:51:07 +02:00
myisam Rename cmakelists.txt -> CMakeLists.txt 2006-05-12 10:51:07 +02:00
myisammrg Rename cmakelists.txt -> CMakeLists.txt 2006-05-12 10:51:07 +02:00
ndb Merge neptunus.(none):/home/msvensson/mysql/tmp/tmp_merge 2006-05-12 08:45:22 +02:00
Makefile.am fixes for 'make dist' and 'make distcheck' 2006-04-12 14:08:24 +02:00