mirror of
https://github.com/fluencelabs/redis
synced 2025-06-29 08:51:33 +00:00
On crash print information about the current client (if any), command vector, and object associated to first argument assuming it is a key.
This commit is contained in:
@ -400,6 +400,7 @@ struct redisServer {
|
||||
/* Fast pointers to often looked up command */
|
||||
struct redisCommand *delCommand, *multiCommand;
|
||||
list *slaves, *monitors;
|
||||
redisClient *current_client; /* Current client, only used on crash report */
|
||||
char neterr[ANET_ERR_LEN];
|
||||
aeEventLoop *el;
|
||||
int cronloops; /* number of times the cron function run */
|
||||
@ -1072,4 +1073,6 @@ void *malloc(size_t size) __attribute__ ((deprecated));
|
||||
void *realloc(void *ptr, size_t size) __attribute__ ((deprecated));
|
||||
#endif
|
||||
|
||||
void redisLogObjectDebugInfo(robj *o);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user