mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
Closes #914
git-svn-id: file:///svn/tokudb@4502 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
19b775ea35
commit
fe3cd46d32
1 changed files with 1 additions and 1 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Reference in a new issue