-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command CONFIG SET *
reply array length error
#2320
Comments
看起来将回复的数字 |
这样虽然可以, 但是不能一劳永逸, 我想用一个 vector吧, 先往 vector里塞,然后调用 Lines 432 to 441 in ae5e8c6
这里也有个和redis不一样的地方,虽然客户端识别 还是一起改一下吧, 把 |
agree,我会一起改掉 |
…#2320) (OpenAtomFoundation#2336) * fix * change ConfigCmd::ConfigSet return way * func ConfigCmd::ConfigSet use res_ to get return value
…#2320) (OpenAtomFoundation#2336) * fix * change ConfigCmd::ConfigSet return way * func ConfigCmd::ConfigSet use res_ to get return value
Is this a regression?
Yes
Description
Then execute any command
Such as:
reply:
"write-buffer-size"
The reason is that the array length returned by the 'CONFIG SET *' command is incorrect
pika/src/pika_admin.cc
Lines 2065 to 2069 in ae5e8c6
on 2068 line
ret = "*29\r\n";
The number 29 was written downPlease provide a link to a minimal reproduction of the bug
No response
Screenshots or videos
Please provide the version you discovered this bug in (check about page for version information)
Anything else?
No response
The text was updated successfully, but these errors were encountered: