mariadb/storage/archive
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_test.c azio.c, archive_test.c: 2006-03-26 13:59:37 +02:00
azio.c azio.c, archive_test.c: 2006-03-26 13:59:37 +02:00
azlib.h build fixes for azio on systems without zutil.h 2005-12-28 15:33:48 +11:00
CMakeLists.txt performing a set of bk mv on each CMakeLists.txt file to try and restore the mixed case filenames since this seems to be required with Cmake 2.4 beta 1. 2006-05-11 11:29:08 -05:00
ha_archive.cc Bug #18480 Windows file rename problems in archive storage engine 2006-05-16 08:55:08 -05:00
ha_archive.h Merge xiphis.org:/home/antony/work2/mysql-5.1 2006-05-01 22:45:31 -07:00
Makefile.am Rename cmakelists.txt -> CMakeLists.txt 2006-05-12 10:51:07 +02:00
plug.in auto-set MYSQL_PLUGIN_DIRECTORY for plug.in files 2006-05-06 07:43:18 -04:00