docs(libmdbx): more static_files -> snapshots (#8047)

This commit is contained in:
Alexey Shekhirin
2024-05-02 15:54:34 +01:00
committed by GitHub
parent 78f62dd34c
commit 1603113ce5

View File

@ -950,8 +950,7 @@ mod tests {
.open(tempdir.path())
.unwrap();
// Insert some data in the database, so the read transaction can lock on the static file of
// it
// Insert some data in the database, so the read transaction can lock on the snapshot of it
{
let tx = env.begin_rw_txn().unwrap();
let db = tx.open_db(None).unwrap();
@ -964,8 +963,7 @@ mod tests {
// Create a read transaction
let _tx_ro = env.begin_ro_txn().unwrap();
// Change previously inserted data, so the read transaction would use the previous static
// file
// Change previously inserted data, so the read transaction would use the previous snapshot
{
let tx = env.begin_rw_txn().unwrap();
let db = tx.open_db(None).unwrap();