diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-12-31 15:11:52 +0100 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2017-01-11 09:18:35 +0200 |
commit | ed008a74cf4cfe8619595ec71a6073a9e94f984c (patch) | |
tree | fd6d88dc95523f1d2137d5e0355c7c954df4a6a9 /storage/innobase/include/dict0types.h | |
parent | ed0bc17bee591599c988df21b8d5a264f08eb885 (diff) | |
download | mariadb-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/dict0types.h')
-rw-r--r-- | storage/innobase/include/dict0types.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/storage/innobase/include/dict0types.h b/storage/innobase/include/dict0types.h index ae002dd9487..b0623f82bb7 100644 --- a/storage/innobase/include/dict0types.h +++ b/storage/innobase/include/dict0types.h @@ -80,13 +80,6 @@ enum ib_quiesce_t { QUIESCE_COMPLETE /*!< All done */ }; -/** Enum values for atomic_writes table option */ -typedef enum { - ATOMIC_WRITES_DEFAULT = 0, - ATOMIC_WRITES_ON = 1, - ATOMIC_WRITES_OFF = 2 -} atomic_writes_t; - #ifndef UNIV_INNOCHECKSUM typedef ib_mutex_t DictSysMutex; #endif /* !UNIV_INNOCHECKSUM */ |