Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.5
-
Windows server 2012 R2
Description
Hello,
MariaDb 10.5.9 crashes when executing the following :
SET @scopeId = 3004, |
@NPSER = (SELECT pd.id FROM shrm_payded pd WHERE pd.scopeId = @scopeId AND pd.pdCode = '001'), |
@NPSERA = (SELECT pd.id FROM shrm_payded pd WHERE pd.scopeId = @scopeId AND pd.pdCode = '001'); |
When having each SET on a single line (i.e. ending with ";") it works fine.
This same query executes without error on MariaDB 10.3.14, but in 10.5.9 it crashes the SQL server.
Is there a configuration / system variable that needs to be set so that it executes correctly ?
Thanks
Joanne
NOTE: attached an extract of the error log and the "my.ini" file
Attachments
Issue Links
- is caused by
-
MDEV-23094 Multiple calls to a Stored Procedure from another Stored Procedure crashes server
- Closed
- relates to
-
MDEV-23886 Reusing CTE inside a function fails with table doesn't exist
- Closed