maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #03766
Re: [Branch ~maria-captains/maria/5.1] Rev 2988: Fix LP Bug#686184 - merge_debug test fails.
Hi!
On 07.12.2010 01:15, noreply@xxxxxxxxxxxxx wrote:
------------------------------------------------------------
revno: 2988
fixes bug(s): https://launchpad.net/bugs/686184
committer: Vladislav Vaintroub<wlad@xxxxxxxxxxxxxxxx>
branch nick: 5.1
timestamp: Mon 2010-12-06 22:34:50 +0100
message:
Fix LP Bug#686184 - merge_debug test fails.
The reason for failure is that DBUG_EXECUTE_IF in mi_open()
only worked for Unix-formatted file names, due to strstr(name, "/crashed")
The fix change strstr() above to strstr(name, "crashed"), to it can work with
Windows file names as well.
modified:
storage/myisam/mi_open.c
(M)Aria engine also has code like you fixed above in ma_open.c:
DBUG_EXECUTE_IF("maria_pretend_crashed_table_on_open",
if (strstr(name, "/t1"))
{
my_errno= HA_ERR_CRASHED;
goto err;
});
Should it be also fixed?