summaryrefslogtreecommitdiff
path: root/storage/innobase/include/buf0buf.h
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2020-03-11 16:27:37 +0300
committerEugene Kosov <claprix@yandex.ru>2020-03-11 16:27:37 +0300
commitdf88e7cefaa7dcffdc52359b73a1087e8569e000 (patch)
treef9cd6de83dd4fbfed03687157c8410e5830af681 /storage/innobase/include/buf0buf.h
parentb30446c85dbf0fd402a7833e1042bc13be7fece2 (diff)
downloadmariadb-git-df88e7cefaa7dcffdc52359b73a1087e8569e000.tar.gz
fix typedef-related warning and cleanup using namespace std
Diffstat (limited to 'storage/innobase/include/buf0buf.h')
-rw-r--r--storage/innobase/include/buf0buf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/include/buf0buf.h b/storage/innobase/include/buf0buf.h
index bcb2252e7dc..b6ad0b85b19 100644
--- a/storage/innobase/include/buf0buf.h
+++ b/storage/innobase/include/buf0buf.h
@@ -1504,7 +1504,7 @@ buf_page_encrypt_before_write(
NOTE! The definition appears here only for other modules of this
directory (buf) to see it. Do not use from outside! */
-typedef struct {
+struct buf_tmp_buffer_t {
private:
int32 reserved; /*!< true if this slot is reserved
*/
@@ -1534,7 +1534,7 @@ public:
return !my_atomic_fas32_explicit(&reserved, true,
MY_MEMORY_ORDER_RELAXED);
}
-} buf_tmp_buffer_t;
+};
/** The common buffer control block structure
for compressed and uncompressed frames */