update message

Former-commit-id: 0a5ad5dfd42d76032c5008d9d9e4e2213b161232
This commit is contained in:
starlord 2019-10-29 17:19:02 +08:00
parent dcc7fbd439
commit bb43a77130

View File

@ -475,8 +475,8 @@ Config::CheckDBConfigInsertBufferSize(const std::string& value) {
uint64_t total_mem = 0, free_mem = 0;
CommonUtil::GetSystemMemInfo(total_mem, free_mem);
if (buffer_size >= total_mem) {
std::string msg =
"Invalid insert buffer size: " + value + ". Possible reason: insert buffer size exceeds system memory.";
std::string msg = "Invalid insert buffer size: " + value +
". Possible reason: db_config.insert_buffer_size exceeds system memory.";
return Status(SERVER_INVALID_ARGUMENT, msg);
}
}