Commit d2de2aac authored by Vladislav Vlastovskiy's avatar Vladislav Vlastovskiy Committed by Benjamin Eberlei

Fixed logic error

parent 814e53d0
......@@ -115,7 +115,7 @@ class PoolingShardManager implements ShardManager
$oldDistribution = $this->getCurrentDistributionValue();
foreach ($shards as $shard) {
$this->selectShard($shard['id']);
$this->conn->connect($shard['id']);
foreach ($this->conn->fetchAll($sql, $params, $types) as $row) {
$result[] = $row;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment