Skip to content

Commit 0d88b97

Browse files
committed
MDEV-10296 - Multi-instance table cache
Fixed type cast.
1 parent a2b1c58 commit 0d88b97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/table_cache.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ struct Table_cache_instance
187187
n_instances + 1);
188188
}
189189
}
190-
else if (!my_atomic_fas32_explicit((int32) &tc_contention_warning_reported,
190+
else if (!my_atomic_fas32_explicit((int32*) &tc_contention_warning_reported,
191191
1, MY_MEMORY_ORDER_RELAXED))
192192
{
193193
sql_print_warning("Detected table cache mutex contention at instance %d: "

0 commit comments

Comments
 (0)