yuniql icon indicating copy to clipboard operation
yuniql copied to clipboard

Yuniql fails on a MariaDB script that contains session variables

Open svegasoft opened this issue 1 year ago • 0 comments

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.

svegasoft avatar Nov 01 '23 19:11 svegasoft