mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 08:08:53 -05:00
Report redis_version:7.2.4 in INFO command
Fixes: #37 Signed-off-by: Norm <normandy@biribiri.dev>
This commit is contained in:
parent
aadcf99b72
commit
1502824239
@ -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_git_dirty:%i\r\n", strtol(redictGitDirty(),NULL,10) > 0,
|
||||||
"redict_build_id:%s\r\n", redictBuildIdString(),
|
"redict_build_id:%s\r\n", redictBuildIdString(),
|
||||||
"redict_mode:%s\r\n", mode,
|
"redict_mode:%s\r\n", mode,
|
||||||
|
|
||||||
|
/* Hard-coded for forward compatibility: */
|
||||||
|
"redis_version:%s\r\n", "7.2.4",
|
||||||
|
|
||||||
"os:%s", name.sysname,
|
"os:%s", name.sysname,
|
||||||
" %s", name.release,
|
" %s", name.release,
|
||||||
" %s\r\n", name.machine,
|
" %s\r\n", name.machine,
|
||||||
|
Loading…
Reference in New Issue
Block a user