summaryrefslogtreecommitdiff
path: root/databases/mysql57-server/files/patch-storage_innobase_buf_buf0buf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql57-server/files/patch-storage_innobase_buf_buf0buf.cc')
-rw-r--r--databases/mysql57-server/files/patch-storage_innobase_buf_buf0buf.cc22
1 files changed, 22 insertions, 0 deletions
diff --git a/databases/mysql57-server/files/patch-storage_innobase_buf_buf0buf.cc b/databases/mysql57-server/files/patch-storage_innobase_buf_buf0buf.cc
new file mode 100644
index 000000000000..ee535e2f6455
--- /dev/null
+++ b/databases/mysql57-server/files/patch-storage_innobase_buf_buf0buf.cc
@@ -0,0 +1,22 @@
+--- storage/innobase/buf/buf0buf.cc.orig 2015-11-29 19:16:24 UTC
++++ storage/innobase/buf/buf0buf.cc
+@@ -300,7 +300,7 @@ typedef std::map<
+ const byte*,
+ buf_chunk_t*,
+ std::less<const byte*>,
+- ut_allocator<std::pair<const byte*, buf_chunk_t*> > >
++ ut_allocator<std::pair<const byte* const, buf_chunk_t*> > >
+ buf_pool_chunk_map_t;
+
+ static buf_pool_chunk_map_t* buf_chunk_map_reg;
+--- storage/innobase/buf/buf0buf.cc.orig 2015-11-29 19:16:24 UTC
++++ storage/innobase/buf/buf0buf.cc
+@@ -300,7 +300,7 @@ typedef std::map<
+ const byte*,
+ buf_chunk_t*,
+ std::less<const byte*>,
+- ut_allocator<std::pair<const byte*, buf_chunk_t*> > >
++ ut_allocator<std::pair<const byte* const, buf_chunk_t*> > >
+ buf_pool_chunk_map_t;
+
+ static buf_pool_chunk_map_t* buf_chunk_map_reg;