1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-07 03:22:57 +03:00

targetDbroot should be assined, not compared (#2087)

This commit is contained in:
Leonid Fedorov
2021-08-18 19:49:27 +03:00
committed by GitHub
parent dcacbbd3a9
commit 37ad263a7a

View File

@@ -460,7 +460,7 @@ int RedistributeControlThread::makeRedistributePlan()
{ {
if (targetDbroot == targetDbroots.end()) if (targetDbroot == targetDbroots.end())
{ {
targetDbroot == targetDbroots.begin(); targetDbroot = targetDbroots.begin();
} }
if (dbPartVec[*targetDbroot].size() < partCount) if (dbPartVec[*targetDbroot].size() < partCount)