-
Notifications
You must be signed in to change notification settings - Fork 412
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
[FLASH-298] Import DecodedTiKVKey and TableRowIDMinMax #218
Conversation
@@ -19,12 +19,13 @@ struct CFKeyHasher | |||
|
|||
struct RegionWriteCFDataTrait | |||
{ | |||
static const std::string name; |
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.
If my memories are not wrong, we could define static const std::string name = 'foobar'
in .h, just work for static vars.
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.
I've test and this didn't work. std::string
need constructor.
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.
name
is a static variables of struct RegionWriteCFDataTrait, if we want to access it out of this struct, we must initialize it out of RegionWriteCFDataTrait.
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.
LGTM
/run-integration-tests |
1 similar comment
/run-integration-tests |
Implement DecodedTiKVKey to present decoded tikv key instead of std::string.
Implement TableRowIDMinMax to optimize min/max key for table record.