summaryrefslogtreecommitdiff
path: root/src/intset.c
diff options
context:
space:
mode:
authorsundb <sundbcn@gmail.com>2021-11-16 14:55:10 +0800
committerGitHub <noreply@github.com>2021-11-16 08:55:10 +0200
commite725d737fb2ee492fbcd04bb7deb1696d7e182d1 (patch)
treeb84ce135e03c4e9708ec250671c95b5f9130f5a8 /src/intset.c
parentaba70df48f2ca8a567d2c11d34fb768bf764c487 (diff)
downloadredis-e725d737fb2ee492fbcd04bb7deb1696d7e182d1.tar.gz
Add --large-memory flag for REDIS_TEST to enable tests that consume more than 100mb (#9784)
This is a preparation step in order to add a new test in quicklist.c see #9776
Diffstat (limited to 'src/intset.c')
-rw-r--r--src/intset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intset.c b/src/intset.c
index 0e8365b46..e96037da8 100644
--- a/src/intset.c
+++ b/src/intset.c
@@ -393,7 +393,7 @@ static void checkConsistency(intset *is) {
}
#define UNUSED(x) (void)(x)
-int intsetTest(int argc, char **argv, int accurate) {
+int intsetTest(int argc, char **argv, int flags) {
uint8_t success;
int i;
intset *is;
@@ -401,7 +401,7 @@ int intsetTest(int argc, char **argv, int accurate) {
UNUSED(argc);
UNUSED(argv);
- UNUSED(accurate);
+ UNUSED(flags);
printf("Value encodings: "); {
assert(_intsetValueEncoding(-32768) == INTSET_ENC_INT16);