update gcc to gcc 10 and support c++17 (#5394)

* update gcc to gcc 10 and support c++17
    update brpc to 0.9.7
    update boost to 1.73
    remove third-party boost 1.54 for mysql

* update cmake version

* ignore jdk version

* remove unused patch

* avoid use SYS_getrandom call
This commit is contained in:
stdpain
2021-03-25 09:30:38 +08:00
committed by GitHub
parent 23bd4a959a
commit ad67dd34a0
33 changed files with 183 additions and 371 deletions

View File

@ -17,7 +17,7 @@
#include "runtime/bufferpool/buffer_allocator.h"
#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>
#include <mutex>
#include "common/atomic.h"
@ -721,8 +721,7 @@ std::string BufferPool::FreeBufferArena::DebugString() {
<< " free buffers: " << lists.num_free_buffers.load()
<< " low water mark: " << lists.low_water_mark
<< " clean pages: " << lists.num_clean_pages.load() << " ";
lists.clean_pages.iterate(boost::bind<bool>(Page::DebugStringCallback, &ss, _1));
lists.clean_pages.iterate(boost::bind<bool>(Page::DebugStringCallback, &ss, boost::placeholders::_1));
ss << "\n";
}
return ss.str();