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

Call middle::after_nodes/ways/relations() in tests in right order #1985

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

joto
Copy link
Collaborator

@joto joto commented Jun 27, 2023

The middle should always be called with these functions in the right order if the middle data is changed in any way, because there might be postprocessing done or buffers flushed etc.

This adds some code that checks in the middle that it is in the correct state. This code is only compiled in in debug mode.

The middle should always be called with these functions in the right
order if the middle data is changed in any way, because there might be
postprocessing done or buffers flushed etc.

This adds some code that checks in the middle that it is in the correct
state. This code is only compiled in in debug mode.
@lonvia lonvia merged commit 2038358 into osm2pgsql-dev:master Jun 28, 2023
@joto joto deleted the middle-test-clean branch July 2, 2023 11:44
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.

2 participants