Commit 0d88b97e authored by Sergey Vojtovich's avatar Sergey Vojtovich

MDEV-10296 - Multi-instance table cache

Fixed type cast.
parent a2b1c58c
......@@ -187,7 +187,7 @@ struct Table_cache_instance
n_instances + 1);
}
}
else if (!my_atomic_fas32_explicit((int32) &tc_contention_warning_reported,
else if (!my_atomic_fas32_explicit((int32*) &tc_contention_warning_reported,
1, MY_MEMORY_ORDER_RELAXED))
{
sql_print_warning("Detected table cache mutex contention at instance %d: "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment