Commit 5ee687ab authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Improve an error message. Addresses #168.

git-svn-id: file:///svn/tokudb@1969 c7de825b-a66e-492c-adef-691d508d4ae1
parent 25c9d850
......@@ -1716,7 +1716,7 @@ static int toku_db_put_noassociate(DB * db, DB_TXN * txn, DBT * key, DBT * data,
} else {
unsigned int limit = nodesize / (3*BRT_FANOUT-1);
if (key->size >= limit || data->size >= limit)
return EINVAL;
return do_error(db->dbenv, EINVAL, "The largest key or data item allowed is %d bytes", limit);
}
if (flags == DB_YESOVERWRITE) {
......
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