summaryrefslogtreecommitdiff
path: root/bdb
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-09-08 11:47:34 +0300
committerunknown <monty@hundin.mysql.fi>2001-09-08 11:47:34 +0300
commit8e9c21de2ba0a41ba81ce14f0c5bbaa2187015b3 (patch)
tree519c781289c4f4c0769d932057d293ba813f2b8c /bdb
parent0ce7e16ef3b9fbe6aa253ac9cef407710dd250e9 (diff)
downloadmariadb-git-8e9c21de2ba0a41ba81ce14f0c5bbaa2187015b3.tar.gz
More debug info
Fix DBUG_ASSERT() Optimization for BDB tables Fix for BDB under Win98 Docs/manual.texi: Removed wrong info bdb/os_win32/os_rename.c: Fix for windows 98 configure.in: Better options for MAC OS X include/dbug.h: Fix DBUG_ASSERT() mysys/thr_lock.c: More DBUG messages sql/ha_berkeley.cc: Use cursor in remove_key sql/lock.cc: Fix possible problem when pre-unlocking tables in SELECT sql/sql_select.cc: More DBUG messages sql/violite.c: Fix DBUG messages
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)