mirror of
https://github.com/fluencelabs/redis
synced 2025-06-15 18:21:21 +00:00
FLUSHALL / FLUSHDB for diskstore implemented
This commit is contained in:
@ -262,10 +262,12 @@ void _redisAssert(char *estr, char *file, int line) {
|
||||
}
|
||||
|
||||
void _redisPanic(char *msg, char *file, int line) {
|
||||
redisLog(REDIS_WARNING,"------------------------------------------------");
|
||||
redisLog(REDIS_WARNING,"!!! Software Failure. Press left mouse button to continue");
|
||||
redisLog(REDIS_WARNING,"Guru Meditation: %s #%s:%d",msg,file,line);
|
||||
#ifdef HAVE_BACKTRACE
|
||||
redisLog(REDIS_WARNING,"(forcing SIGSEGV in order to print the stack trace)");
|
||||
redisLog(REDIS_WARNING,"------------------------------------------------");
|
||||
*((char*)-1) = 'x';
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user