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

Yuniql fails on a MariaDB script that contains session variables #310

Open
svegasoft opened this issue Nov 1, 2023 · 0 comments
Open

Yuniql fails on a MariaDB script that contains session variables #310

svegasoft opened this issue Nov 1, 2023 · 0 comments

Comments

@svegasoft
Copy link

Yuniql fails on this script:

BEGIN NOT ATOMIC
   select now() into @date;
   select @date;
END

This script runs normally in MariaDB. Replacing session variable with a local one fixes the issue.
It is necessary for Yuniql to support session variables because session variables are the only way to execute dynamic sql.

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

No branches or pull requests

1 participant