summaryrefslogtreecommitdiff
path: root/storage/innobase/include/dict0pagecompress.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-12-31 15:11:52 +0100
committerMonty <monty@mariadb.org>2017-01-11 09:18:35 +0200
commited008a74cf4cfe8619595ec71a6073a9e94f984c (patch)
treefd6d88dc95523f1d2137d5e0355c7c954df4a6a9 /storage/innobase/include/dict0pagecompress.h
parented0bc17bee591599c988df21b8d5a264f08eb885 (diff)
downloadmariadb-git-ed008a74cf4cfe8619595ec71a6073a9e94f984c.tar.gz
Make atomic writes general
- Atomic writes are enabled by default - Automatically detect if device supports atomic write and use it if atomic writes are enabled - Remove ATOMIC WRITE options from CREATE TABLE - Atomic write is a device option, not a table options as the table may crash if the media changes - Add support for SHANNON SSD cards
Diffstat (limited to 'storage/innobase/include/dict0pagecompress.h')
-rw-r--r--storage/innobase/include/dict0pagecompress.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/storage/innobase/include/dict0pagecompress.h b/storage/innobase/include/dict0pagecompress.h
index 19a2a6c52f3..f8873aec965 100644
--- a/storage/innobase/include/dict0pagecompress.h
+++ b/storage/innobase/include/dict0pagecompress.h
@@ -67,26 +67,6 @@ dict_tf_verify_flags(
ulint fsp_flags) /*!< in: fil_space_t::flags */
__attribute__((const));
-/********************************************************************//**
-Extract the atomic writes flag from table flags.
-@return true if atomic writes are used, false if not used */
-UNIV_INLINE
-atomic_writes_t
-dict_tf_get_atomic_writes(
-/*======================*/
- ulint flags) /*!< in: flags */
- __attribute__((const));
-
-/********************************************************************//**
-Check whether the table uses the atomic writes.
-@return true if atomic writes is used, false if not */
-UNIV_INLINE
-atomic_writes_t
-dict_table_get_atomic_writes(
-/*=========================*/
- const dict_table_t* table); /*!< in: table */
-
-
#ifndef UNIV_NONINL
#include "dict0pagecompress.ic"
#endif