mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
MDEV-25524 fixup for Windows
In commit 54e2e70194
we relaxed a debug assertion in the POSIX version of
os_file_rename_func() only. Let us relax it also on Windows,
so that the test innodb.truncate_crash will pass.
This commit is contained in:
parent
54e2e70194
commit
db0782243c
1 changed files with 2 additions and 1 deletions
|
@ -2831,7 +2831,8 @@ os_file_rename_func(
|
|||
|
||||
/* New path must not exist. */
|
||||
ut_ad(os_file_status(newpath, &exists, &type));
|
||||
ut_ad(!exists);
|
||||
/* MDEV-25506 FIXME: Remove the strstr() */
|
||||
ut_ad(!exists || strstr(oldpath, "/" TEMP_FILE_PREFIX_INNODB));
|
||||
|
||||
/* Old path must exist. */
|
||||
ut_ad(os_file_status(oldpath, &exists, &type));
|
||||
|
|
Loading…
Add table
Reference in a new issue