summaryrefslogtreecommitdiff
path: root/storage/innobase/include/fsp0file.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/fsp0file.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/fsp0file.h')
-rw-r--r--storage/innobase/include/fsp0file.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/storage/innobase/include/fsp0file.h b/storage/innobase/include/fsp0file.h
index 83aa370abf0..82d086bcf7a 100644
--- a/storage/innobase/include/fsp0file.h
+++ b/storage/innobase/include/fsp0file.h
@@ -65,7 +65,6 @@ public:
m_is_valid(),
m_first_page_buf(),
m_first_page(),
- m_atomic_write(),
m_last_os_error(),
m_file_info(),
m_encryption_key(NULL),
@@ -91,7 +90,6 @@ public:
m_is_valid(),
m_first_page_buf(),
m_first_page(),
- m_atomic_write(),
m_last_os_error(),
m_file_info(),
m_encryption_key(NULL),
@@ -115,7 +113,6 @@ public:
m_is_valid(file.m_is_valid),
m_first_page_buf(),
m_first_page(),
- m_atomic_write(file.m_atomic_write),
m_last_os_error(),
m_file_info(),
m_encryption_key(NULL),
@@ -183,8 +180,6 @@ public:
/* Do not copy crypt info it is read from first page */
m_crypt_info = NULL;
- m_atomic_write = file.m_atomic_write;
-
return(*this);
}
@@ -475,9 +470,6 @@ private:
/** Pointer to the first page held in the buffer above */
byte* m_first_page;
- /** true if atomic writes enabled for this file */
- bool m_atomic_write;
-
protected:
/** Last OS error received so it can be reported if needed. */
ulint m_last_os_error;