mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
docs(libmdbx): more static_files -> snapshots (#8047)
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user