Format routers and monitors

This commit is contained in:
Markus Mäkelä
2019-05-09 11:05:34 +03:00
parent 6625c1296b
commit 418ccf861d
42 changed files with 358 additions and 340 deletions

View File

@ -74,7 +74,7 @@ static uint64_t getCapabilities(MXS_ROUTER* instance);
static void handleError(MXS_ROUTER* instance,
MXS_ROUTER_SESSION* router_session,
GWBUF* errbuf,
DCB* backend_dcb,
DCB* backend_dcb,
mxs_error_action_t action,
bool* succp);
@ -263,7 +263,7 @@ static void freeSession(MXS_ROUTER* router_instance,
static void handleError(MXS_ROUTER* instance,
MXS_ROUTER_SESSION* router_session,
GWBUF* errbuf,
DCB* backend_dcb,
DCB* backend_dcb,
mxs_error_action_t action,
bool* succp)

View File

@ -130,11 +130,11 @@ typedef enum
} PARSE_ERROR;
extern MAXINFO_TREE* maxinfo_parse(char*, PARSE_ERROR*);
extern void maxinfo_free_tree(MAXINFO_TREE*);
extern void maxinfo_execute(DCB*, MAXINFO_TREE*);
extern void maxinfo_send_error(DCB*, int, const char*);
extern void maxinfo_send_parse_error(DCB*, char*, PARSE_ERROR);
extern MAXINFO_TREE* maxinfo_parse(char*, PARSE_ERROR*);
extern void maxinfo_free_tree(MAXINFO_TREE*);
extern void maxinfo_execute(DCB*, MAXINFO_TREE*);
extern void maxinfo_send_error(DCB*, int, const char*);
extern void maxinfo_send_parse_error(DCB*, char*, PARSE_ERROR);
extern std::unique_ptr<ResultSet> maxinfo_variables();
extern std::unique_ptr<ResultSet> maxinfo_status();
extern int handle_url(INFO_INSTANCE* instance, INFO_SESSION* session, GWBUF* queue);