Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log_block.record only returns first record in a block #12

Closed
gaul opened this issue Jan 9, 2014 · 2 comments
Closed

log_block.record only returns first record in a block #12

gaul opened this issue Jan 9, 2014 · 2 comments
Assignees

Comments

@gaul
Copy link
Contributor

gaul commented Jan 9, 2014

Instead it should advance the cursor through all records in the block. It should also handle partial records, i.e., those spanning block boundaries. Diagram of a log block:

https://blogs.oracle.com/mysqlinnodb/entry/redo_logging_in_innodb

@darnaut darnaut self-assigned this Feb 3, 2014
@darnaut
Copy link
Collaborator

darnaut commented Feb 3, 2014

Yeah, and also, the record "content" is broken as it reads from the wrong position.

@darnaut
Copy link
Collaborator

darnaut commented Mar 16, 2014

Initial implementation in 86188d2.

@darnaut darnaut closed this as completed Mar 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants