Some updated
This commit is contained in:
@@ -711,8 +711,8 @@ std::vector<std::shared_ptr<GroupAssignment>> GroupManager::getAssignedServerGro
|
||||
sql::result res;
|
||||
std::vector<std::shared_ptr<GroupAssignment>> result;
|
||||
if(this->root) {
|
||||
auto root = this->root->getAssignedServerGroups(cldbid);
|
||||
result.insert(result.begin(), root.begin(), root.end());
|
||||
auto client_groups = this->root->getAssignedServerGroups(cldbid);
|
||||
result.insert(result.begin(), client_groups.begin(), client_groups.end());
|
||||
}
|
||||
|
||||
if(cached) {
|
||||
@@ -726,7 +726,7 @@ std::vector<std::shared_ptr<GroupAssignment>> GroupManager::getAssignedServerGro
|
||||
shared_ptr<Group> group = nullptr;
|
||||
time_point<system_clock> until;
|
||||
|
||||
for(int index = 0; index < length; index++){
|
||||
for(int index = 0; index < length; index++) {
|
||||
if(value[index] == nullptr) {
|
||||
logError(this->getServerId(), string() + "Invalid value at " + column[index]);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user