export LookupShardTransferMode

pull/4136/head
Nils Dijk 2020-09-02 15:23:00 +02:00
parent 6e4862c57f
commit bbf42063a7
No known key found for this signature in database
GPG Key ID: CA1177EF9434F241
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,6 @@
#include "utils/palloc.h"
/* local function forward declarations */
static char LookupShardTransferMode(Oid shardReplicationModeOid);
static void ErrorIfTableCannotBeReplicated(Oid relationId);
static void RepairShardPlacement(int64 shardId, const char *sourceNodeName,
int32 sourceNodePort, const char *targetNodeName,
@ -226,7 +225,7 @@ ErrorIfTableCannotBeReplicated(Oid relationId)
* LookupShardTransferMode maps the oids of citus.shard_transfer_mode enum
* values to a char.
*/
static char
char
LookupShardTransferMode(Oid shardReplicationModeOid)
{
char shardReplicationMode = 0;

View File

@ -176,5 +176,6 @@ extern ShardPlacement * SearchShardPlacementInList(List *shardPlacementList,
extern ShardPlacement * SearchShardPlacementInListOrError(List *shardPlacementList,
const char *nodeName,
uint32 nodePort);
extern char LookupShardTransferMode(Oid shardReplicationModeOid);
#endif /* COORDINATOR_PROTOCOL_H */