-
-
Notifications
You must be signed in to change notification settings - Fork 109
Fix #13951 wrong parsing partitions #265
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 #13951 wrong parsing partitions #265
Conversation
When partition names contain "_", the parser wasn't reading the full name, but stopped before the first "_". Signed-off-by: Hugues Peccatte <hugues.peccatte@aareon.fr>
|
Can you please add a test case? Btw we merge bug fixes on QA branch, so if you want to rebase :) |
|
Sorry, I created the PR on the wrong branch, but the commit were done on QA. I'll see to update the unit tests. |
|
In that case, it’s quite easy to change the target branch here on GitHub (though I can’t do it right now as I’m on mobile).
Near the top of the page is an Edit button for changing the pull request title. If you cli k that, the branch name turns to a drop down selector.
Thanks for your contribution!
|
|
@williamdes @ibennetch , test case is done. Is this OK? |
|
I saw the failure in the unit test! I'll fix it and run the whole tests, not only the |
Signed-off-by: Hugues Peccatte <hugues.peccatte@aareon.fr>
|
Should be better now... |
williamdes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Tithugues I really do appreciate your work and the test you added ! 💯
Fixes: phpmyadmin/phpmyadmin#13951 Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
When partition names starts with a number, the parser wasn't reading the full name and stopped before the first "_".