Report redis_version:7.2.4 in INFO command

Fixes: #37
Signed-off-by: Norm <normandy@biribiri.dev>
This commit is contained in:
Norm 2024-04-01 15:46:18 -04:00
parent aadcf99b72
commit 1502824239

View File

@ -5567,6 +5567,10 @@ sds genRedictInfoString(dict *section_dict, int all_sections, int everything) {
"redict_git_dirty:%i\r\n", strtol(redictGitDirty(),NULL,10) > 0,
"redict_build_id:%s\r\n", redictBuildIdString(),
"redict_mode:%s\r\n", mode,
/* Hard-coded for forward compatibility: */
"redis_version:%s\r\n", "7.2.4",
"os:%s", name.sysname,
" %s", name.release,
" %s\r\n", name.machine,