diff options
author | unknown <sasha@mysql.sashanet.com> | 2001-12-13 17:21:04 -0700 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2001-12-13 17:21:04 -0700 |
commit | a6090e3c23b6e1bd42d0b22ea5f1084ce0e856fb (patch) | |
tree | 3f8b7cec7cee300f00423ae447fa93847a222d55 /include/my_bitmap.h | |
parent | f19819ee9d837d0997230c5ce4a2b3bbccb31788 (diff) | |
download | mariadb-git-a6090e3c23b6e1bd42d0b22ea5f1084ce0e856fb.tar.gz |
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
Diffstat (limited to 'include/my_bitmap.h')
-rw-r--r-- | include/my_bitmap.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/my_bitmap.h b/include/my_bitmap.h index 313d3f747e3..3243e5f0b24 100644 --- a/include/my_bitmap.h +++ b/include/my_bitmap.h @@ -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 |