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
|
* during execution. Record it to apply the restrictions related to
|
||||||
* local execution.
|
* local execution.
|
||||||
*/
|
*/
|
||||||
if (!TransactionAccessedLocalPlacement &&
|
if (task->anchorShardId != INVALID_SHARD_ID)
|
||||||
task->anchorShardId != INVALID_SHARD_ID)
|
|
||||||
{
|
{
|
||||||
TransactionAccessedLocalPlacement = true;
|
TransactionAccessedLocalPlacement = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue