summaryrefslogtreecommitdiff
path: root/storage/innobase/include/db0err.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-02-11 17:45:36 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2017-02-13 11:24:02 +0200
commita45866c6dbfe744d86c04617b33ed8433aed5ede (patch)
treeefd4656f721bb05b17608684ebbac4bd3c8eb1cf /storage/innobase/include/db0err.h
parent3272a1974190e0238da63052b8d26f53aea8e03f (diff)
downloadmariadb-git-a45866c6dbfe744d86c04617b33ed8433aed5ede.tar.gz
MDEV-12050 Remove unused InnoDB Memcached hooks
Oracle introduced a Memcached plugin interface to the InnoDB storage engine in MySQL 5.6. That interface is essentially a fork of Memcached development snapshot 1.6.0-beta1 of an old development branch 'engine-pu'. To my knowledge, there have not been any updates to the Memcached code between MySQL 5.6 and 5.7; only bug fixes and extensions related to the Oracle modifications. The Memcached plugin is not part of the MariaDB Server. Therefore it does not make sense to include the InnoDB interfaces for the Memcached plugin, or to have any related configuration parameters: innodb_api_bk_commit_interval innodb_api_disable_rowlock innodb_api_enable_binlog innodb_api_enable_mdl innodb_api_trx_level Removing this code in one commit makes it possible to easily restore it, in case it turns out to be needed later.
Diffstat (limited to 'storage/innobase/include/db0err.h')
-rw-r--r--storage/innobase/include/db0err.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/storage/innobase/include/db0err.h b/storage/innobase/include/db0err.h
index 972d99553b9..b0609991f61 100644
--- a/storage/innobase/include/db0err.h
+++ b/storage/innobase/include/db0err.h
@@ -173,16 +173,6 @@ enum dberr_t {
DB_END_OF_INDEX,
DB_NOT_FOUND, /*!< Generic error code for "Not found"
type of errors */
-
- /* The following are API only error codes. */
- DB_DATA_MISMATCH = 2000, /*!< Column update or read failed
- because the types mismatch */
-
- DB_SCHEMA_NOT_LOCKED /*!< If an API function expects the
- schema to be locked in exclusive mode
- and if it's not then that API function
- will return this error code */
-
};
#endif