mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Manage key length conversion error correctly
This commit is contained in:
parent
5e218f3f4d
commit
d5c07ef7b3
3 changed files with 48 additions and 17 deletions
|
@ -432,7 +432,7 @@ where
|
|||
if let Err(error) = database.put(wtxn, &key, &value) {
|
||||
return Err(Error::InternalError(InternalError::StorePut {
|
||||
database_name,
|
||||
key,
|
||||
key: bstr::BString::from(&key[..]),
|
||||
value_length: value.len(),
|
||||
error,
|
||||
}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue