mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
fix: 'xgroup help' should show help message (#1159)
Along the way, performs small cleanups in command handling code. XGROUP HELP is special because it falls out of Dragonfly command taxonomy design, where a command name determines where its key is located. All other XGROUP subcommands expect to see XGROUP <subcmd> <key> and this one obviously does not need any key. I fix it by working around the issue and introduce a dedicated dummy command for this combination. Fixes #854. Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
parent
de0b73312a
commit
418f529b0e
10 changed files with 110 additions and 72 deletions
|
@ -920,7 +920,7 @@ void Transaction::UnwatchBlocking(bool should_expire, WaitKeysProvider wcb) {
|
|||
DVLOG(1) << "UnwatchBlocking finished " << DebugId();
|
||||
}
|
||||
|
||||
const char* Transaction::Name() const {
|
||||
string_view Transaction::Name() const {
|
||||
return cid_->name();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue