1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-27 09:01:50 +03:00

Updated wsrep-API, added -Wconversion to compiler flags, fixed errors.

This commit is contained in:
Teemu Ollakka
2019-10-10 13:54:05 +03:00
parent 58aa3e821f
commit 477a71dd46
18 changed files with 107 additions and 88 deletions

View File

@ -27,6 +27,7 @@
#include <atomic>
#include <unordered_set>
#include <random>
namespace db
{
@ -41,6 +42,8 @@ namespace db
, bf_aborts_()
, position_()
, view_()
, random_device_()
, random_engine_(random_device_())
{ }
class transaction
@ -80,6 +83,8 @@ namespace db
std::atomic<long long> bf_aborts_;
wsrep::gtid position_;
wsrep::view view_;
std::random_device random_device_;
std::default_random_engine random_engine_;
};
}