mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
misc cleanup
Docs/manual.texi: fixed bad merge include/my_bitmap.h: fixed comment format mysql-test/r/rpl_get_lock.result: make the test results predicable mysql-test/t/rpl_get_lock.test: predicatable test results mysys/my_bitmap.c: do not init/destroy mutex if bitmap is not declared thread safe sql/slave.cc: clean-up suggested by Monty to make init_slave_skip_errors() more compact
This commit is contained in:
@ -27,10 +27,11 @@ typedef struct st_bitmap
|
||||
uchar *bitmap;
|
||||
uint bitmap_size;
|
||||
my_bool thread_safe; /* set if several threads access the bitmap */
|
||||
/* mutex will be acquired for the duration of each bitmap operation if
|
||||
/*
|
||||
mutex will be acquired for the duration of each bitmap operation if
|
||||
thread_safe flag is set. Otherwise, we optimize by not acquiring the
|
||||
mutex
|
||||
*/
|
||||
*/
|
||||
#ifdef THREAD
|
||||
pthread_mutex_t mutex;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user