4732 Tor Didriksen 2012-12-06
Bug#15959758 MUTEX LOCK_THREAD_CREATED IS NOT INSTRUMENTED
modified:
sql/mysqld.cc
sql/mysqld.h
4731 Harin Vadodaria 2012-12-06 [merge]
Bug#15912213: BUFFER OVERFLOW IN ACL_GET()
Description: Null merge.
=== modified file 'sql/mysqld.cc'
--- a/sql/mysqld.cc 2012-11-30 14:25:38 +0000
+++ b/sql/mysqld.cc 2012-12-06 12:22:21 +0000
@@ -4122,7 +4122,8 @@ You should consider changing lower_case_
static int init_thread_environment()
{
- mysql_mutex_init(0, &LOCK_thread_created, MY_MUTEX_INIT_FAST);
+ mysql_mutex_init(key_LOCK_thread_created,
+ &LOCK_thread_created, MY_MUTEX_INIT_FAST);
mysql_mutex_init(key_LOCK_thread_count, &LOCK_thread_count, MY_MUTEX_INIT_FAST);
mysql_mutex_init(key_LOCK_status, &LOCK_status, MY_MUTEX_INIT_FAST);
mysql_mutex_init(key_LOCK_delayed_insert,
@@ -9133,6 +9134,7 @@ PSI_mutex_key key_RELAYLOG_LOCK_sync;
PSI_mutex_key key_RELAYLOG_LOCK_sync_queue;
PSI_mutex_key key_LOCK_sql_rand;
PSI_mutex_key key_gtid_ensure_index_mutex;
+PSI_mutex_key key_LOCK_thread_created;
static PSI_mutex_info all_server_mutexes[]=
{
@@ -9204,7 +9206,8 @@ static PSI_mutex_info all_server_mutexes
{ &key_LOG_INFO_lock, "LOG_INFO::lock", 0},
{ &key_LOCK_thread_count, "LOCK_thread_count", PSI_FLAG_GLOBAL},
{ &key_LOCK_log_throttle_qni, "LOCK_log_throttle_qni", PSI_FLAG_GLOBAL},
- { &key_gtid_ensure_index_mutex, "Gtid_state", PSI_FLAG_GLOBAL}
+ { &key_gtid_ensure_index_mutex, "Gtid_state", PSI_FLAG_GLOBAL},
+ { &key_LOCK_thread_created, "LOCK_thread_created", PSI_FLAG_GLOBAL }
};
PSI_rwlock_key key_rwlock_LOCK_grant, key_rwlock_LOCK_logger,
=== modified file 'sql/mysqld.h'
--- a/sql/mysqld.h 2012-11-14 12:08:59 +0000
+++ b/sql/mysqld.h 2012-12-06 12:22:21 +0000
@@ -340,6 +340,7 @@ extern PSI_mutex_key key_RELAYLOG_LOCK_s
extern PSI_mutex_key key_RELAYLOG_LOCK_sync_queue;
extern PSI_mutex_key key_LOCK_sql_rand;
extern PSI_mutex_key key_gtid_ensure_index_mutex;
+extern PSI_mutex_key key_LOCK_thread_created;
extern PSI_rwlock_key key_rwlock_LOCK_grant, key_rwlock_LOCK_logger,
key_rwlock_LOCK_sys_init_connect, key_rwlock_LOCK_sys_init_slave,
No bundle (reason: useless for push emails).
| Thread |
|---|
| • bzr push into mysql-5.6 branch (tor.didriksen:4731 to 4732) Bug#15959758 | Tor Didriksen | 6 Dec |