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 | 601b545eed9404ee3718537887464e7b37a9d7bf (patch) | |
tree | 3f8b7cec7cee300f00423ae447fa93847a222d55 /include | |
parent | 961f7be52fa7b4c5f2c3775eef2467b3a441d97a (diff) | |
download | mariadb-git-601b545eed9404ee3718537887464e7b37a9d7bf.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')
-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 |