Commit 539ae15b authored by unknown's avatar unknown

Merge bk-internal.mysql.com:/home/bk/mysql-maria

into  mysql.com:/home/my/mysql-maria
parents 6d7f997e 107f8d9a
......@@ -1095,6 +1095,9 @@ my_bool _ma_apply_undo_key_delete(MARIA_HA *info, LSN undo_lsn,
This is safe as we in this case don't write current_key_del into
the redo log and during recover we are not updating key_del.
@retval 1 Use page at end of file
@retval 0 Use page at share->current_key_del
*/
my_bool _ma_lock_key_del(MARIA_HA *info, my_bool insert_at_end)
......@@ -1119,7 +1122,7 @@ my_bool _ma_lock_key_del(MARIA_HA *info, my_bool insert_at_end)
share->current_key_del= share->state.key_del;
pthread_mutex_unlock(&share->intern_lock);
}
return 0;
return share->current_key_del == HA_OFFSET_ERROR;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment