diff options
author | monty@hundin.mysql.fi <> | 2001-09-08 11:47:34 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-09-08 11:47:34 +0300 |
commit | e24bdfa8bbd7963e63bbcae87e809e6f4925b785 (patch) | |
tree | 519c781289c4f4c0769d932057d293ba813f2b8c /bdb | |
parent | 228de3b0015c35ea1700a483969018aac3d65c9d (diff) | |
download | mariadb-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.c | 2 |
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) |