Skip to content
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

kv/KineticStore: Fix broken split_key #6574

Merged
merged 1 commit into from Nov 14, 2015

Conversation

yuyuyu101
Copy link
Member

Introduced by PR #6312

Signed-off-by: Haomai Wang haomai@xsky.com

Introduced by PR ceph#6312

Signed-off-by: Haomai Wang <haomai@xsky.com>
@liewegas
Copy link
Member

what is the bug?

@@ -203,7 +203,7 @@ bufferlist KineticStore::to_bufferlist(const kinetic::KineticRecord &record)
return bl;
}

int KineticStore::split_key(string in_prefix, string *prefix, string *key)
int KineticStore::split_key(string &in, string *prefix, string *key)
{
size_t prefix_len = 0;
char* in_data = in.c_str();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there existed a unknown variable named "in" before

liewegas added a commit that referenced this pull request Nov 14, 2015
kv/KineticStore: fix broken split_key

Reviewed-by: Sage Weil <sage@redhat.com>
@liewegas liewegas merged commit 492720e into ceph:master Nov 14, 2015
@yuyuyu101 yuyuyu101 deleted the fix-broken-kinects branch November 14, 2015 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants