mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
Move to heed 0.1.0
This commit is contained in:
parent
6c9a238973
commit
78535b3e33
23 changed files with 132 additions and 176 deletions
|
@ -1,9 +1,9 @@
|
|||
use crate::store;
|
||||
use crate::update::{next_update_id, Update};
|
||||
use zlmdb::Result as ZResult;
|
||||
use heed::Result as ZResult;
|
||||
|
||||
pub fn apply_customs_update(
|
||||
writer: &mut zlmdb::RwTxn,
|
||||
writer: &mut heed::RwTxn,
|
||||
main_store: store::Main,
|
||||
customs: &[u8],
|
||||
) -> ZResult<()> {
|
||||
|
@ -11,7 +11,7 @@ pub fn apply_customs_update(
|
|||
}
|
||||
|
||||
pub fn push_customs_update(
|
||||
writer: &mut zlmdb::RwTxn,
|
||||
writer: &mut heed::RwTxn,
|
||||
updates_store: store::Updates,
|
||||
updates_results_store: store::UpdatesResults,
|
||||
customs: Vec<u8>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue