Skip to content

ELSE expressions terminate early when encountering an END token#654

Open
SharpDerek wants to merge 1 commit intophpmyadmin:masterfrom
SharpDerek:fix/588-case-with-alias-is-not-properly-parsed
Open

ELSE expressions terminate early when encountering an END token#654
SharpDerek wants to merge 1 commit intophpmyadmin:masterfrom
SharpDerek:fix/588-case-with-alias-is-not-properly-parsed

Conversation

@SharpDerek
Copy link
Copy Markdown

CASE 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.

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.

1 participant