GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||
GeezerVison is showing github.com — ELSE expressions terminate early when encountering an END token by SharpDerek · Pull Request #654 · phpmyadmin/sql-parser ConversationCASE statements with an ELSE returning a value with the "tablename.columnname" format fail due to encountering an END token and parsing it as if it were a column instead. This fixes the issue by checking to see if the current token is an END and breaks before column processing.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## master #654 +/- ## ========================================= Coverage 96.30% 96.30% - Complexity 2254 2255 +1 ========================================= Files 90 90 Lines 4982 4982 ========================================= Hits 4798 4798 Misses 184 184
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this fix. If possible please reset your branch to 5.11.x and cherry pick your work and force push.
It will allow us to have the fix on 5.11.x
Else just let me know and I will do it manually
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Also, please add test cases |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
70b388b to
100f954
Compare
Here's the most succinct test case I can provide: Output before change: Output after change: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
If this gets merged into 5.11.x, would it be put into 6.0.0 as well? That is the version that we are currently running and can't really downpatch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@williamdes Is there anything more you need from me on this? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.