remove line that accidentally disabled strippedkeylen()
git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@2529 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
This commit is contained in:
parent
ae7c827ab5
commit
bb3e768df7
1 changed files with 6 additions and 7 deletions
|
@ -29,7 +29,6 @@ public:
|
||||||
return data_ - rawkey();
|
return data_ - rawkey();
|
||||||
}
|
}
|
||||||
inline len_t strippedkeylen() const {
|
inline len_t strippedkeylen() const {
|
||||||
return rawkeylen();
|
|
||||||
const size_t ts_sz = sizeof(uint64_t)+1;
|
const size_t ts_sz = sizeof(uint64_t)+1;
|
||||||
size_t al = rawkeylen();
|
size_t al = rawkeylen();
|
||||||
if(al <= ts_sz || rawkey()[al-ts_sz]!=0) {
|
if(al <= ts_sz || rawkey()[al-ts_sz]!=0) {
|
||||||
|
|
Loading…
Reference in a new issue