handle tablespace mapping

This commit is contained in:
Ian Barwick
2020-05-06 17:08:10 +09:00
parent 2071fa8c7e
commit d79d4c50b2
2 changed files with 40 additions and 11 deletions

View File

@@ -85,7 +85,8 @@ typedef enum
CONFIG_STRING,
CONFIG_FAILOVER_MODE,
CONFIG_CONNECTION_CHECK_TYPE,
CONFIG_EVENT_NOTIFICATION_LIST
CONFIG_EVENT_NOTIFICATION_LIST,
CONFIG_TABLESPACE_MAPPING
} ConfigItemType;
@@ -101,6 +102,7 @@ typedef struct ConfigFileOption
failover_mode_opt *failovermodeptr;
ConnectionCheckType *checktypeptr;
EventNotificationList *notificationlistptr;
TablespaceList *tablespacemappingptr;
} val;
union {
int intdefault;
@@ -108,7 +110,6 @@ typedef struct ConfigFileOption
bool booldefault;
failover_mode_opt failovermodedefault;
ConnectionCheckType *checktypedefault;
EventNotificationList *notificationlistdefault;
} defval;
int minval;
int strmaxlen;