Skip to content

Commit

Permalink
Temporary fake support new rdbversion 12 to pass CI
Browse files Browse the repository at this point in the history
  • Loading branch information
moticless committed Oct 15, 2023
1 parent b42c755 commit 5ccd25a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/rdb-cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ static void printUsage(int shortUsage) {
printf("\t-l, --log-file <PATH> Path to the log file or stdout (Default: './rdb-cli.log')\n\n");
printf("\tMultiple filters combination of keys/types/dbs can be specified:\n");
printf("\t-k, --key <REGEX> Include only keys that match REGEX\n");
printf("\t-K --no-key <REGEX> Exclude keys that match REGEX\n");
printf("\t-K --no-key <REGEX> Exclude all keys that match REGEX\n");
printf("\t-t, --type <TYPE> Include only selected TYPE {str|list|set|zset|hash|module|func}\n");
printf("\t-T, --no-type <TYPE> Exclude TYPE {str|list|set|zset|hash|module|func}\n");
printf("\t-d, --dbnum <DBNUM> Include only selected db number\n");
Expand Down
1 change: 1 addition & 0 deletions src/ext/handlersToResp.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ typedef struct RedisToRdbVersion {
} RedisToRdbVersion;

const RedisToRdbVersion redisToRdbVersion[] = {
{"7.2", VER_VAL(7,2), 12}, // TODO: Truly support 12 and update released redis version.
{"7.2", VER_VAL(7,2), 11},
{"7.0", VER_VAL(7,0), 10},
{"5.0", VER_VAL(5,0), 9}, //6 and 6.2 had v9 too
Expand Down

0 comments on commit 5ccd25a

Please sign in to comment.