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
4 changes: 2 additions & 2 deletions dbzero/dbzero/reflection_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ def all(self, snapshot=None, as_memo_base=False):
return db0.find(db0.MemoBase, cls, prefix=prefix_name)

if snapshot is not None:
return snapshot.find(cls, prefix=prefix_name)
return snapshot.find(cls.type(), prefix=prefix_name)
else:
return db0.find(cls, prefix=prefix_name)
return db0.find(cls.type(), prefix=prefix_name)

def get_instance_count(self):
"""Get number of instances of this Memo class."""
Expand Down
2 changes: 0 additions & 2 deletions src/dbzero/core/storage/DRAM_IOStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ namespace db0

void DRAM_IOStream::load(ChangeLogIOStream &changelog_io)
{
assert(m_access_type == AccessType::READ_WRITE);

// simply exhaust the change-log stream
// its position marks the synchronization point
while (changelog_io.readChangeLogChunk());
Expand Down
Loading