Commit 62af9417 authored by Yoni Fogel's avatar Yoni Fogel

Closes #914

git-svn-id: file:///svn/tokudb@4502 c7de825b-a66e-492c-adef-691d508d4ae1
parent fb18cbb2
......@@ -30,7 +30,7 @@ static inline int dbt_set_preprocess(DBT* ybt, ITEMLEN len, void** staticptrp, v
if (ybt->flags==0 && staticptrp==NULL) { r = -1; goto cleanup; }
if (!input_disposable) {
*tmp_data = toku_malloc(len);
if (!*tmp_data && len > 0) { r = errno; goto cleanup; }
if (!*tmp_data) { r = errno; goto cleanup; }
}
}
else { r = EINVAL; goto cleanup; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment