Reset autoConverted field for cache

talha_tes1
Ahmet Gedemenli 2021-10-18 18:19:40 +03:00
parent 6ef8075bdd
commit e695e04219
2 changed files with 2 additions and 1 deletions

View File

@ -3697,6 +3697,7 @@ ResetCitusTableCacheEntry(CitusTableCacheEntry *cacheEntry)
cacheEntry->hasUninitializedShardInterval = false;
cacheEntry->hasUniformHashDistribution = false;
cacheEntry->hasOverlappingShardInterval = false;
cacheEntry->autoConverted = false;
pfree(cacheEntry);
}

View File

@ -63,7 +63,7 @@ typedef struct
char partitionMethod;
uint32 colocationId;
char replicationModel;
bool autoConverted;
bool autoConverted; /* table auto-added to metadata, valid for citus local tables */
/* pg_dist_shard metadata (variable-length ShardInterval array) for this table */
int shardIntervalArrayLength;