mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Trivial optimizations and cleanups
This commit is contained in:
parent
ae6c5d0de3
commit
6795a545e3
2 changed files with 1 additions and 2 deletions
|
@ -365,8 +365,8 @@ my_bool _ma_bitmap_flush_all(MARIA_SHARE *share)
|
|||
*/
|
||||
if (bitmap->changed)
|
||||
{
|
||||
res= write_changed_bitmap(share, bitmap);
|
||||
bitmap->changed= FALSE;
|
||||
res= write_changed_bitmap(share, bitmap);
|
||||
}
|
||||
/*
|
||||
We do NOT use FLUSH_KEEP_LAZY because we must be sure that bitmap
|
||||
|
|
|
@ -827,7 +827,6 @@ static int collect_tables(LEX_STRING *str, LSN checkpoint_start_log_horizon)
|
|||
not seen again in the loop.
|
||||
*/
|
||||
share->in_checkpoint= MARIA_CHECKPOINT_LOOKS_AT_ME;
|
||||
/** @todo avoid strlen() */
|
||||
total_names_length+= share->open_file_name.length;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue