mirror of https://github.com/citusdata/citus.git
Remove unused variable causing CI build failure
parent
3b1dbed8d0
commit
27dae42843
|
@ -2006,7 +2006,6 @@ UpdateShardState(uint64 shardId, char shardState)
|
||||||
Datum values[Natts_pg_dist_shard];
|
Datum values[Natts_pg_dist_shard];
|
||||||
bool isnull[Natts_pg_dist_shard];
|
bool isnull[Natts_pg_dist_shard];
|
||||||
bool replace[Natts_pg_dist_shard];
|
bool replace[Natts_pg_dist_shard];
|
||||||
bool colIsNull = false;
|
|
||||||
|
|
||||||
Relation pgDistShard = table_open(DistShardRelationId(), RowExclusiveLock);
|
Relation pgDistShard = table_open(DistShardRelationId(), RowExclusiveLock);
|
||||||
TupleDesc tupleDescriptor = RelationGetDescr(pgDistShard);
|
TupleDesc tupleDescriptor = RelationGetDescr(pgDistShard);
|
||||||
|
@ -2033,7 +2032,6 @@ UpdateShardState(uint64 shardId, char shardState)
|
||||||
heapTuple = heap_modify_tuple(heapTuple, tupleDescriptor, values, isnull, replace);
|
heapTuple = heap_modify_tuple(heapTuple, tupleDescriptor, values, isnull, replace);
|
||||||
CatalogTupleUpdate(pgDistShard, &heapTuple->t_self, heapTuple);
|
CatalogTupleUpdate(pgDistShard, &heapTuple->t_self, heapTuple);
|
||||||
|
|
||||||
Assert(!colIsNull);
|
|
||||||
CitusInvalidateRelcacheByShardId(shardId);
|
CitusInvalidateRelcacheByShardId(shardId);
|
||||||
|
|
||||||
CommandCounterIncrement();
|
CommandCounterIncrement();
|
||||||
|
|
Loading…
Reference in New Issue