poll.c : forgot from previous commit
debugcmd.c : cannot compile.
This commit is contained in:
@ -206,6 +206,8 @@ struct subcommand disableoptions[] = {
|
||||
{0, 0, 0} }
|
||||
};
|
||||
|
||||
#if defined(SS_DEBUG)
|
||||
|
||||
static void fail_backendfd(void);
|
||||
static void fail_clientfd(void);
|
||||
|
||||
@ -235,7 +237,7 @@ struct subcommand failoptions[] = {
|
||||
{0, 0, 0}
|
||||
}
|
||||
};
|
||||
|
||||
#endif /* SS_DEBUG */
|
||||
|
||||
static void telnetdAddUser(DCB *, char *, char *);
|
||||
/**
|
||||
@ -284,7 +286,9 @@ static struct {
|
||||
{ "reload", reloadoptions },
|
||||
{ "enable", enableoptions },
|
||||
{ "disable", disableoptions },
|
||||
#if defined(SS_DEBUG)
|
||||
{ "fail", failoptions },
|
||||
#endif
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
@ -728,6 +732,7 @@ static void disable_log_action(DCB *dcb, char *arg1) {
|
||||
skygw_log_disable(type);
|
||||
}
|
||||
|
||||
#if defined(SS_DEBUG)
|
||||
static void fail_backendfd(void)
|
||||
{
|
||||
fail_next_backend_fd = TRUE;
|
||||
@ -737,3 +742,4 @@ static void fail_clientfd(void)
|
||||
{
|
||||
fail_next_client_fd = TRUE;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user