-
Notifications
You must be signed in to change notification settings - Fork 275
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
Fix: DBInterface::get() return nullable strings #516
Conversation
common/dbinterface.cpp
Outdated
return value == "None" ? shared_ptr<string>() : make_shared<string>(value); | ||
}; | ||
return blockable<std::string>(innerfunc, dbName, blocking); | ||
return blockable<shared_ptr<string>>(innerfunc, dbName, blocking); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inconsistent namespace usage, std::shared_ptr in function return value vs shared_ptr in function body #Resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same for std::string and string
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Fix DBInterface::get() should return nullable strings, to align with redis-py behavior.
No description provided.