Skip to content

Commit

Permalink
Merge branch 'OpenAtomFoundation:unstable' into HMSET
Browse files Browse the repository at this point in the history
  • Loading branch information
chejinge authored Feb 10, 2025
2 parents ff4de98 + 95d4be6 commit 1240f2e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pika_admin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3432,8 +3432,12 @@ void HelloCmd::Do() {
}

std::string raw;
char version[32];
snprintf(version, sizeof(version), "%d.%d.%d", 5, 0, 0);

std::vector<storage::FieldValue> fvs{
{"server", "redis"},
{"version", version}
};
// just for redis resp2 protocol
fvs.push_back({"proto", "2"});
Expand Down

0 comments on commit 1240f2e

Please sign in to comment.