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:
sears 2011-05-02 22:05:32 +00:00
parent ae7c827ab5
commit bb3e768df7

View file

@ -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) {