We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3deac38 commit 8b9c659Copy full SHA for 8b9c659
src/server_base/args.cc
@@ -50,15 +50,12 @@ ServerArgs::ServerArgs(const std::string& sql_addr,
50
join(join) {}
51
52
ServerInfo::ServerInfo() {
53
- // UUIDv4::UUIDGenerator<std::mt19937_64> uuidGenerator;
54
- // UUIDv4::UUID uuid = uuidGenerator.getUUID();
55
- // SPDLOG_INFO("server uuid: {}", uuid.str());
56
uuid_t uuid;
57
- uuid_generate(uuid); // generates random UUID
+ uuid_generate(uuid);
58
char str[37];
59
uuid_unparse(uuid, str);
60
SPDLOG_INFO("server uuid: {}", str);
61
- // std::string(str);
+ this->id = std::string(str);
62
}
63
64
ServerInfo::~ServerInfo() = default;
0 commit comments