mirror of https://github.com/citusdata/citus.git
remove unnecessary if check (#3500)
parent
3d8efe303e
commit
71f1aa48a3
|
@ -151,8 +151,7 @@ ExecuteLocalTaskList(CitusScanState *scanState, List *taskList)
|
|||
* during execution. Record it to apply the restrictions related to
|
||||
* local execution.
|
||||
*/
|
||||
if (!TransactionAccessedLocalPlacement &&
|
||||
task->anchorShardId != INVALID_SHARD_ID)
|
||||
if (task->anchorShardId != INVALID_SHARD_ID)
|
||||
{
|
||||
TransactionAccessedLocalPlacement = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue