debug segfault 命令
Debug Segfault 命令执行一个非法的内存访问从而让 Redis 崩溃,仅在开发时用于 BUG 调试。
语法
DEBUG SEGFAULT
返回值
无
实例
redis> DEBUG SEGFAULT Could not connect to Redis at: Connection refused not connected>
Debug Segfault 命令执行一个非法的内存访问从而让 Redis 崩溃,仅在开发时用于 BUG 调试。
DEBUG SEGFAULT
无
redis> DEBUG SEGFAULT Could not connect to Redis at: Connection refused not connected>
上篇: debug object 命令
下篇: role 命令