merge LP Bug#686184

This commit is contained in:
Vladislav Vaintroub 2010-12-07 00:15:27 +01:00
commit 2de9a7742a
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ int mi_close(register MI_INFO *info)
if (flag)
{
DBUG_EXECUTE_IF("crash_before_flush_keys",
if (share->kfile >= 0) abort(););
if (share->kfile >= 0) DBUG_ABORT(););
if (share->kfile >= 0 &&
flush_key_blocks(share->key_cache, share->kfile,
&share->dirty_part_map,

View File

@ -116,7 +116,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
dflt_key_cache);
DBUG_EXECUTE_IF("myisam_pretend_crashed_table_on_open",
if (strstr(name, "/crashed"))
if (strstr(name, "crashed"))
{
my_errno= HA_ERR_CRASHED;
goto err;