DUMP implemented, RESTORE and MIGRATE fixed. Use zcalloc() instead of zmalloc()+memset() in sds.c when a new string is created with NULL initialization pointer.

This commit is contained in:
antirez
2011-04-01 18:59:28 +02:00
parent 6c390c0b23
commit 626f6b2d64
4 changed files with 89 additions and 7 deletions

View File

@ -1180,6 +1180,7 @@ void unwatchCommand(redisClient *c);
void clusterCommand(redisClient *c);
void restoreCommand(redisClient *c);
void migrateCommand(redisClient *c);
void dumpCommand(redisClient *c);
#if defined(__GNUC__)
void *calloc(size_t count, size_t size) __attribute__ ((deprecated));