mirror of https://github.com/citusdata/citus.git
Make LookupNodeForGroup extern
parent
257406fda7
commit
eb7e45d556
|
@ -223,7 +223,6 @@ static void CachedRelationNamespaceLookup(const char *relationName, Oid relnames
|
|||
Oid *cachedOid);
|
||||
static ShardPlacement * ResolveGroupShardPlacement(
|
||||
GroupShardPlacement *groupShardPlacement, ShardCacheEntry *shardEntry);
|
||||
static WorkerNode * LookupNodeForGroup(int32 groupId);
|
||||
static Oid LookupEnumValueId(Oid typeId, char *valueName);
|
||||
static void InvalidateEntireDistCache(void);
|
||||
|
||||
|
@ -596,7 +595,7 @@ LookupNodeByNodeId(uint32 nodeId)
|
|||
* if we're reading from secondaries). If such a node does not exist it emits an
|
||||
* appropriate error message.
|
||||
*/
|
||||
static WorkerNode *
|
||||
WorkerNode *
|
||||
LookupNodeForGroup(int32 groupId)
|
||||
{
|
||||
bool foundAnyNodes = false;
|
||||
|
|
|
@ -122,6 +122,7 @@ extern void EnsureModificationsCanRun(void);
|
|||
/* access WorkerNodeHash */
|
||||
extern HTAB * GetWorkerNodeHash(void);
|
||||
extern WorkerNode * LookupNodeByNodeId(uint32 nodeId);
|
||||
extern WorkerNode * LookupNodeForGroup(int32 groupId);
|
||||
|
||||
/* namespace oids */
|
||||
extern Oid CitusCatalogNamespaceId(void);
|
||||
|
|
Loading…
Reference in New Issue