php-leveldb icon indicating copy to clipboard operation
php-leveldb copied to clipboard

Fix reopen cleanup in PHP LevelDB

Open reeze opened this issue 7 months ago • 1 comments

Summary

  • ensure comparator and callable resources are released when reopening a DB
  • reset internal DB pointer to avoid double close
  • add regression test for reopening

Testing

  • make test TESTS=tests/021-reopen.phpt
  • make test TESTS=tests

https://chatgpt.com/codex/tasks/task_e_683fca06d404832785bd2dd1bf232737

reeze avatar Jun 04 '25 10:06 reeze

Looks OK although this is a pretty weird use case

dktapps avatar Jun 15 '25 15:06 dktapps