Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dbzero/dbzero/dbzero.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def load_dynamic(name, path):

def __bootstrap__():
global __bootstrap__, __loader__, __file__
paths = [os.path.join(os.path.split(__file__)[0]), "/src/dev/build/release", "/usr/local/lib/python3/dist-packages/dbzero/"]
paths = [os.path.join(os.path.split(__file__)[0]), "/src/dev/build/debug", "/usr/local/lib/python3/dist-packages/dbzero/"]
__file__ = None
for path in paths:
if os.path.isdir(path):
Expand Down
3 changes: 3 additions & 0 deletions src/dbzero/core/memory/PrefixImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@ namespace db0
if (timer_ptr) {
timer = std::make_unique<ProcessTimer>("Prefix::close", timer_ptr);
}
#ifndef NDEBUG
m_cache.release();
#endif
m_storage_ptr->close();
}

Expand Down