We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 026119f commit b15207cCopy full SHA for b15207c
1 file changed
tests/modules/defragtest.c
@@ -43,7 +43,8 @@ static void createGlobalStrings(RedisModuleCtx *ctx, unsigned long count)
43
global_strings = RedisModule_Alloc(sizeof(RedisModuleString *) * count);
44
45
for (unsigned long i = 0; i < count; i++) {
46
- global_strings[i] = RedisModule_CreateStringFromLongLong(ctx, i);
+ char buf[64] = {0};
47
+ global_strings[i] = RedisModule_CreateString(ctx, buf, 64);
48
}
49
50
0 commit comments