git-svn-id: file:///svn/tokudb@4502 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Yoni Fogel 2008-06-12 20:46:09 +00:00
parent 19b775ea35
commit fe3cd46d32

View file

@ -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; }