summaryrefslogtreecommitdiff
path: root/storage/perfschema/ha_perfschema.cc
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2016-11-02 15:40:30 +0400
committerSergey Vojtovich <svoj@mariadb.org>2016-12-13 16:38:20 +0400
commit8ff3b892aeac2e320d701652539476c4d9e7b591 (patch)
treea0bd6c706e3ace95ac0abf99253ac73a72da9572 /storage/perfschema/ha_perfschema.cc
parentbb9928160fce03c64bbf753e7eafbdbd95255110 (diff)
downloadmariadb-git-8ff3b892aeac2e320d701652539476c4d9e7b591.tar.gz
MDEV-11212 - Clean-up MariaDB atomic operations
Removed MY_ATOMIC_MODE_DUMMY and WITH_ATOMIC_OPS: MariaDB is not functional without atomic operations anymore.
Diffstat (limited to 'storage/perfschema/ha_perfschema.cc')
-rw-r--r--storage/perfschema/ha_perfschema.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/storage/perfschema/ha_perfschema.cc b/storage/perfschema/ha_perfschema.cc
index d703d5d594a..b94e65fc7d1 100644
--- a/storage/perfschema/ha_perfschema.cc
+++ b/storage/perfschema/ha_perfschema.cc
@@ -31,17 +31,6 @@
#include "pfs_user.h"
#include "pfs_account.h"
-#ifdef MY_ATOMIC_MODE_DUMMY
-/*
- The performance schema can can not function with MY_ATOMIC_MODE_DUMMY,
- a fully functional implementation of MY_ATOMIC should be used instead.
- If the build fails with this error message:
- - either use a different ./configure --with-atomic-ops option
- - or do not build with the performance schema.
-*/
-#error "The performance schema needs a functional MY_ATOMIC implementation."
-#endif
-
handlerton *pfs_hton= NULL;
static handler* pfs_create_handler(handlerton *hton,