summaryrefslogtreecommitdiff
path: root/bdb
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-09-08 11:47:34 +0300
committermonty@hundin.mysql.fi <>2001-09-08 11:47:34 +0300
commite24bdfa8bbd7963e63bbcae87e809e6f4925b785 (patch)
tree519c781289c4f4c0769d932057d293ba813f2b8c /bdb
parent228de3b0015c35ea1700a483969018aac3d65c9d (diff)
downloadmariadb-git-e24bdfa8bbd7963e63bbcae87e809e6f4925b785.tar.gz
More debug info
Fix DBUG_ASSERT() Optimization for BDB tables Fix for BDB under Win98
Diffstat (limited to 'bdb')
-rw-r--r--bdb/os_win32/os_rename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bdb/os_win32/os_rename.c b/bdb/os_win32/os_rename.c
index c824820462c..cd53ec02022 100644
--- a/bdb/os_win32/os_rename.c
+++ b/bdb/os_win32/os_rename.c
@@ -47,7 +47,7 @@ __os_rename(dbenv, old, new)
*/
if (MoveFileEx(old, new, MOVEFILE_REPLACE_EXISTING) != TRUE)
ret = __os_win32_errno();
- if (ret == ENOENT && MoveFile(old, new) == TRUE)
+ if ((ret == ENOENT || ret == EIO) && MoveFile(old, new) == TRUE)
ret = 0;
}
if (ret != 0)