Evan Jones
4b9ba976d6
MemoryUsageBuilder: Prevent outliving the DBs/caches ( #1061 )
...
This type must not outlive the DBs and caches that are added to it,
otherwise the caller will access invalid memory and likely crash.
Use PhantomData to ensure it does not outlive its arguments. This is
technically a breaking API change, but anything that used this code
in this way was likely broken anyway.
Co-authored-by: Oleksandr Anyshchenko <aanischenko@gmail.com>
2026-01-06 22:13:21 -05:00
..
checkpoint_outlive_db.rs
more fixes after renaming package
2024-02-10 11:38:44 -05:00
checkpoint_outlive_db.stderr
bump dependencies & upgrade to latest rust version
2024-02-10 05:12:58 -05:00
iterator_outlive_db.rs
more fixes after renaming package
2024-02-10 11:38:44 -05:00
iterator_outlive_db.stderr
bump dependencies & upgrade to latest rust version
2024-02-10 05:12:58 -05:00
memory_usage_builder_outlive_db.rs
MemoryUsageBuilder: Prevent outliving the DBs/caches ( #1061 )
2026-01-06 22:13:21 -05:00
memory_usage_builder_outlive_db.stderr
MemoryUsageBuilder: Prevent outliving the DBs/caches ( #1061 )
2026-01-06 22:13:21 -05:00
open_with_multiple_refs_as_single_threaded.rs
more fixes after renaming package
2024-02-10 11:38:44 -05:00
open_with_multiple_refs_as_single_threaded.stderr
bump dependencies & upgrade to latest rust version
2024-02-10 05:12:58 -05:00
snapshot_outlive_db.rs
more fixes after renaming package
2024-02-10 11:38:44 -05:00
snapshot_outlive_db.stderr
bump dependencies & upgrade to latest rust version
2024-02-10 05:12:58 -05:00
snapshot_outlive_transaction.rs
more fixes after renaming package
2024-02-10 11:38:44 -05:00
snapshot_outlive_transaction.stderr
bump dependencies & upgrade to latest rust version
2024-02-10 05:12:58 -05:00
snapshot_outlive_transaction_db.rs
more fixes after renaming package
2024-02-10 11:38:44 -05:00
snapshot_outlive_transaction_db.stderr
bump dependencies & upgrade to latest rust version
2024-02-10 05:12:58 -05:00
transaction_outlive_transaction_db.rs
more fixes after renaming package
2024-02-10 11:38:44 -05:00
transaction_outlive_transaction_db.stderr
bump dependencies & upgrade to latest rust version
2024-02-10 05:12:58 -05:00