diff options
author | oranagra <oran@redislabs.com> | 2017-02-23 03:04:08 -0800 |
---|---|---|
committer | oranagra <oran@redislabs.com> | 2017-02-23 03:04:08 -0800 |
commit | f86df924b01db43eb68f5c4b4cac4c44c1507390 (patch) | |
tree | 02a65411a362442f39d8f450ac4dc93049a96a89 /src/sds.h | |
parent | 95883313b5a405916fabed34c3af290d6072c817 (diff) | |
download | redis-f86df924b01db43eb68f5c4b4cac4c44c1507390.tar.gz |
add SDS_NOINIT option to sdsnewlen to avoid unnecessary memsets.
this commit also contains small bugfix in rdbLoadLzfStringObject
a bug that currently has no implications.
Diffstat (limited to 'src/sds.h')
-rw-r--r-- | src/sds.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -34,6 +34,7 @@ #define __SDS_H #define SDS_MAX_PREALLOC (1024*1024) +const char *SDS_NOINIT; #include <sys/types.h> #include <stdarg.h> |