diff options
author | Sergey Vojtovich <svoj@sun.com> | 2009-10-27 18:27:27 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@sun.com> | 2009-10-27 18:27:27 +0400 |
commit | 578007404d91f96104e14392afb8a82709e6bd2f (patch) | |
tree | 6b118d10ea7262ea4721e82046f46e0da18b2f68 /include | |
parent | 6ceaf234bb9fa2e521c67568e1bd6f76ac890ee2 (diff) | |
download | mariadb-git-578007404d91f96104e14392afb8a82709e6bd2f.tar.gz |
A follow-up to fix for
BUG#47073 - valgrind errs, corruption,failed repair of partition,
low myisam_sort_buffer_size
Fixed race conditions discovered with the provided test case and
stabilized test case.
include/myisam.h:
Serialize submission of messages from multi-threaded REPAIR.
mysql-test/r/myisam.result:
REPAIR output highly depend on threads activity. Disabled
result log to make test case deterministic.
mysql-test/t/myisam.test:
REPAIR output highly depend on threads activity. Disabled
result log to make test case deterministic.
storage/myisam/ha_myisam.cc:
Serialize submission of messages from multi-threaded REPAIR.
storage/myisam/mi_check.c:
Serialize submission of messages from multi-threaded REPAIR.
storage/myisam/sort.c:
Only master thread is allowed to detach write cache from
the share.
Diffstat (limited to 'include')
-rw-r--r-- | include/myisam.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/myisam.h b/include/myisam.h index 02251eeacb4..19b35538c65 100644 --- a/include/myisam.h +++ b/include/myisam.h @@ -432,6 +432,10 @@ typedef struct st_mi_check_param const char *db_name, *table_name; const char *op_name; enum_mi_stats_method stats_method; +#ifdef THREAD + pthread_mutex_t print_msg_mutex; + my_bool need_print_msg_lock; +#endif } MI_CHECK; typedef struct st_sort_ft_buf |