Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.4.13, 10.5.4
-
Win64 (Windows Server 2019)
Description
Multiple calls to a Stored Procedure (e.g. from a loop) from another Stored Procedure crashes the database server (i.e. the MariaDB Windows Service stops running). The crash seems to occure on the second call to the inner Stored Procedure.
This problem has been present in the latest releases of 10.4, and also in the new 10.5.4 .
MariaDB 10.3 is Ok though.
//Code Example
|
CREATE PROCEDURE SP1 |
BEGIN
|
DECLARE p INT |
|
SET P = 2; |
WHILE ( p > 0 ) DO
|
CALL SP2;
|
SET P = P - 1; |
END WHILE; |
END |
Attachments
Issue Links
- causes
-
MDEV-25601 MariaDB 10.5 crash when execute query with SET
- Closed
- duplicates
-
MDEV-20290 Server crash in st_select_lex::cleanup or Assertion `sl->join == 0' failed in reinit_stmt_before_use
- Closed
- is duplicated by
-
MDEV-23914 Mariadb 10.4.15 crash on trigger update, repeatable
- Closed
- relates to
-
MDEV-22000 Server crashes in st_select_lex::inc_in_sum_expr upon DECLARE with group function
- Closed
-
MDEV-22039 Server crashes in MYSQLparse upon IF with double brackets
- Closed