nim-rocksdb/tests
web3-developer 03313d8068
Auto close feature to improve memory management of option types. (#57)
* Revert some changes from prior PR https://github.com/status-im/nim-rocksdb/pull/48 which enable memory leak of options when not cleaned up manually.

* Clean up, add more tests and use correct free function for listColumnFamilies.

* Close opt types when opening database fails.

* Add autoClose flag to each opt type.

* Finish autoClose changes to prevent memory leaks.
2024-06-28 10:04:37 +08:00
..
columnfamily Auto close feature to improve memory management of option types. (#57) 2024-06-28 10:04:37 +08:00
internal Format using nph (#54) 2024-06-26 23:00:10 +08:00
lib Format using nph (#54) 2024-06-26 23:00:10 +08:00
options Format using nph (#54) 2024-06-26 23:00:10 +08:00
transactions Format using nph (#54) 2024-06-26 23:00:10 +08:00
.gitignore Add a basic higher-level API 2018-06-25 15:59:23 +03:00
test_all.nim Rocksdb rewrite integration (#38) 2024-03-05 11:12:37 +08:00
test_backup.nim Format using nph (#54) 2024-06-26 23:00:10 +08:00
test_columnfamily.nim Update API to support passing in ColFamilyHandleRef instead of column family string. (#52) 2024-06-27 01:31:39 +08:00
test_helper.nim Auto close feature to improve memory management of option types. (#57) 2024-06-28 10:04:37 +08:00
test_rocksdb.nim Auto close feature to improve memory management of option types. (#57) 2024-06-28 10:04:37 +08:00
test_rocksiterator.nim Auto close feature to improve memory management of option types. (#57) 2024-06-28 10:04:37 +08:00
test_sstfilewriter.nim Update API to support passing in ColFamilyHandleRef instead of column family string. (#52) 2024-06-27 01:31:39 +08:00
test_transactiondb.nim Auto close feature to improve memory management of option types. (#57) 2024-06-28 10:04:37 +08:00
test_writebatch.nim Auto close feature to improve memory management of option types. (#57) 2024-06-28 10:04:37 +08:00