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

DB backends broken if used on the client #130

Open
michaelkuhn opened this issue Dec 9, 2021 · 0 comments
Open

DB backends broken if used on the client #130

michaelkuhn opened this issue Dec 9, 2021 · 0 comments

Comments

@michaelkuhn
Copy link
Member

michaelkuhn commented Dec 9, 2021

It seems that the GError passed to, for example, j_db_schema_delete is passed all the way through to j_backend_db_schema_delete. If the original GError is freed in the meantime (which happens for the DB benchmarks due to _benchmark_db_prepare_scheme), the following assertion can be triggered:

j_backend_db_schema_delete: assertion 'error == NULL || *error == NULL' failed

This can be reproduced using ./scripts/benchmark.sh -p /db with a client-side mysql backend. (It also happens with the sqlite backend if it is first modified so it can be loaded on the client.)

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

1 participant