Skip to content

GET_LOCK query with alias #307

Answered by orware
thetutlage asked this question in Bug Reports
Oct 15, 2022 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Hello @thetutlage,

Thank you for reporting this to us!

Is the column alias a blocking issue within your project or is it able to be worked around using an alternative option for checking the return value in your application code?

The behavior definitely doesn't match what you are observing directly within MySQL and I was able to confirm the same incorrect behavior myself too so I have submitted an internal issue report with the details you've shared here, plus a few other details I collected, so this can be reviewed/corrected. The issue is likely occurring within the Vitess layer that sits on top of MySQL for PlanetScale databases.

I hope this is helpful and that in the meanwhile you may …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@thetutlage
Comment options

Answer selected by fooforge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants