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

Added reader_context class #27

Merged
merged 1 commit into from
Dec 19, 2023
Merged

Added reader_context class #27

merged 1 commit into from
Dec 19, 2023

Conversation

percona-ysorokin
Copy link
Collaborator

Introduced "prorocol_traits_fwd.hpp" / "prorocol_traits.hpp" headers with some expected values for Binary Log Protocol V4 constants.

Introduced 'binsrv::event::reader_context' class that is expected to be used for storing information about the sequence of encountered events as well as data that may affect parsing / analyzing subsequent events in the stream.

'binsrv::event::event' constructor now accepts an reference to an instance of the 'reader_context' class where the information about the most recently encountered format description event is kept.

After some bugs were fixed in 'clang-tidy-17', 'bugprone-exception-escape' NOLINT suppressions are no longer needed and were removed.

Introduced "prorocol_traits_fwd.hpp" / "prorocol_traits.hpp" headers with
some expected values for Binary Log Protocol V4 constants.

Introduced 'binsrv::event::reader_context' class that is expected to be used for
storing information about the sequence of encountered events as well as
data that may affect parsing / analyzing subsequent events in the stream.

'binsrv::event::event' constructor now accepts an reference to an instance of
the 'reader_context' class where the information about the most recently
encountered format description event is kept.

After some bugs were fixed in 'clang-tidy-17', 'bugprone-exception-escape'
NOLINT suppressions are no longer needed and were removed.
@percona-ysorokin percona-ysorokin merged commit a385fee into main Dec 19, 2023
5 checks passed
@percona-ysorokin percona-ysorokin deleted the reader_context branch December 19, 2023 00:02
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

Successfully merging this pull request may close these issues.

1 participant