Added a new test able to stress a lot the snapshotting engine

This commit is contained in:
antirez
2009-12-15 10:55:13 -05:00
parent ed10f40b15
commit e054afda90
2 changed files with 116 additions and 0 deletions

View File

@ -2034,6 +2034,7 @@ static void addReplyBulkLen(redisClient *c, robj *obj) {
} else {
long n = (long)obj->ptr;
/* Compute how many bytes will take this integer as a radix 10 string */
len = 1;
if (n < 0) {
len++;