summaryrefslogtreecommitdiff
path: root/mysys/my_likely.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_likely.c')
-rw-r--r--mysys/my_likely.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mysys/my_likely.c b/mysys/my_likely.c
index c6fca5b7146..5b6c781ad06 100644
--- a/mysys/my_likely.c
+++ b/mysys/my_likely.c
@@ -48,10 +48,9 @@ HASH likely_hash;
void init_my_likely()
{
/* Allocate big enough to avoid malloc calls */
- my_hash_init2(&likely_hash, 10000, &my_charset_bin,
- 1024, 0, 0,
+ my_hash_init2(&likely_hash, 10000, &my_charset_bin, 1024, 0, 0,
(my_hash_get_key) get_likely_key, 0,
- free, HASH_UNIQUE);
+ free, HASH_UNIQUE, PSI_INSTRUMENT_ME);
likely_inited= 1;
pthread_mutex_init(&likely_mutex, MY_MUTEX_INIT_FAST);
}