summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2016-09-16 19:07:59 +0400
committerSergey Vojtovich <svoj@mariadb.org>2016-09-16 19:07:59 +0400
commit0d88b97e1ec45e434f9e84beb90caa850c43d526 (patch)
tree15b02e28ff614a0769c44d3c0b2c508e6839b7ec
parenta2b1c58c19f44ddaac3ec4d4714ffb0b2bec5f35 (diff)
downloadmariadb-git-0d88b97e1ec45e434f9e84beb90caa850c43d526.tar.gz
MDEV-10296 - Multi-instance table cache
Fixed type cast.
-rw-r--r--sql/table_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table_cache.cc b/sql/table_cache.cc
index 5aa5b8c8c82..6a6b8ab827e 100644
--- a/sql/table_cache.cc
+++ b/sql/table_cache.cc
@@ -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: "