1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-10296 - Multi-instance table cache

Fixed type cast.
This commit is contained in:
Sergey Vojtovich
2016-09-16 19:07:59 +04:00
parent a2b1c58c19
commit 0d88b97e1e

View File

@ -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: "