summaryrefslogtreecommitdiff
path: root/sql/ha_innobase.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/ha_innobase.cc')
-rw-r--r--sql/ha_innobase.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_innobase.cc b/sql/ha_innobase.cc
index d509e696806..cd8e1533e78 100644
--- a/sql/ha_innobase.cc
+++ b/sql/ha_innobase.cc
@@ -476,7 +476,7 @@ innobase_init(void)
}
(void) hash_init(&innobase_open_tables,32,0,0,
(hash_get_key) innobase_get_key,0,0);
- pthread_mutex_init(&innobase_mutex,NULL);
+ pthread_mutex_init(&innobase_mutex,MY_MUTEX_INIT_FAST);
DBUG_RETURN(0);
}
@@ -2642,7 +2642,7 @@ static INNOBASE_SHARE *get_share(const char *table_name)
return 0;
}
thr_lock_init(&share->lock);
- pthread_mutex_init(&share->mutex,NULL);
+ pthread_mutex_init(&share->mutex,MY_MUTEX_INIT_FAST);
}
}
share->use_count++;