diff options
author | antirez <antirez@gmail.com> | 2015-07-14 17:33:30 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2015-07-14 17:33:30 +0200 |
commit | 056a0ca199edbc9f4644684468b8833884e74cd7 (patch) | |
tree | 1759809ceb7e2cd94fbade192eb5d707554dbb0d | |
parent | a76b380e06d6758dcd84277003ca7af520c2b422 (diff) | |
download | redis-056a0ca199edbc9f4644684468b8833884e74cd7.tar.gz |
Fix redis-benchmark sds binding.
Same as redis-cli, now redis-benchmark requires to use hiredis sds copy
since it is different compared to the memory optimized fork of Redis
sds.
-rw-r--r-- | src/Makefile | 2 | ||||
-rw-r--r-- | src/redis-benchmark.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index 106fef340..449b4ec26 100644 --- a/src/Makefile +++ b/src/Makefile @@ -122,7 +122,7 @@ REDIS_GEOHASH_OBJ=../deps/geohash-int/geohash.o ../deps/geohash-int/geohash_help REDIS_CLI_NAME=redis-cli REDIS_CLI_OBJ=anet.o adlist.o redis-cli.o zmalloc.o release.o anet.o ae.o crc64.o REDIS_BENCHMARK_NAME=redis-benchmark -REDIS_BENCHMARK_OBJ=ae.o anet.o redis-benchmark.o sds.o adlist.o zmalloc.o redis-benchmark.o +REDIS_BENCHMARK_OBJ=ae.o anet.o redis-benchmark.o adlist.o zmalloc.o redis-benchmark.o REDIS_CHECK_RDB_NAME=redis-check-rdb REDIS_CHECK_AOF_NAME=redis-check-aof REDIS_CHECK_AOF_OBJ=redis-check-aof.o diff --git a/src/redis-benchmark.c b/src/redis-benchmark.c index f735aeb63..e19fdce14 100644 --- a/src/redis-benchmark.c +++ b/src/redis-benchmark.c @@ -40,9 +40,9 @@ #include <signal.h> #include <assert.h> +#include <sds.h> /* Use hiredis sds. */ #include "ae.h" #include "hiredis.h" -#include "sds.h" #include "adlist.h" #include "zmalloc.h" |