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

fix: don't panic anymore when there is no column value matching in insert into #167

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fabriceclementz
Copy link
Contributor

Hi @evoxmusic
I think this PR should fix the panic mentioned in #134 but I failed to reproduce this bug so I just removed the unwrap to gracefully handle the case where there is no matching value for a column.

I let this PR in draft for now, maybe we can have the part of the dump causing this panic so we can validate It's not a problem in the dump-parser.

Closes #134

@evoxmusic
Copy link
Contributor

You're the best @fabriceclementz 🦾 - I am also waiting for the respond from the people on #134

@evoxmusic
Copy link
Contributor

Hi @fabriceclementz 👋🏽 , I am not sure it is still a valid PR?

@fabriceclementz
Copy link
Contributor Author

Hi @evoxmusic
I'm not sure either as I couldn't reproduce. If you can leave the PR open I will try again asap

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.

thread 'main' panicked at 'called Option::unwrap() on a None value'
2 participants