summaryrefslogtreecommitdiff
path: root/plugin/feedback/utils.cc
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2016-11-02 15:27:12 +0400
committerSergey Vojtovich <svoj@mariadb.org>2016-12-13 16:38:20 +0400
commit8f9999b5fc658431cac66cf07b51b3f469faa20a (patch)
tree54f1c20a96f5775432fd0838c0d9c9230908f2ea /plugin/feedback/utils.cc
parent1369e70b561a53dd77da3c0b87217cf2d6c8328d (diff)
downloadmariadb-git-8f9999b5fc658431cac66cf07b51b3f469faa20a.tar.gz
MDEV-11212 - Clean-up MariaDB atomic operations
Removed my_atomic_initialize(): it doesn't make sense anymore.
Diffstat (limited to 'plugin/feedback/utils.cc')
-rw-r--r--plugin/feedback/utils.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugin/feedback/utils.cc b/plugin/feedback/utils.cc
index 327db69feda..151ecf13c0c 100644
--- a/plugin/feedback/utils.cc
+++ b/plugin/feedback/utils.cc
@@ -374,9 +374,7 @@ int fill_misc_data(THD *thd, TABLE_LIST *tables)
{
TABLE *table= tables->table;
-#ifdef MY_ATOMIC_OK
INSERT1("Cpu_count", (my_getncpus(), UNSIGNED));
-#endif
INSERT1("Mem_total", (my_getphysmem(), UNSIGNED));
INSERT1("Now", (thd->query_start(), UNSIGNED));