Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Duplicate
-
11.8.3, 12.1.1
-
Not for Release Notes
Description
Hey, I noticed that the bugs with the Resolution label set to "fixed" are still triggering on 12.1.1-rc and 11.8.3. It's most likely a regression issue.
description:
MariaDB [test]> CREATE OR REPLACE FUNCTION cnt()
-> RETURNS INTEGER
-> NO SQL
-> BEGIN
-> RETURN 1;
-> END;
-> //
Query OK, 0 rows affected (0.004 sec)
MariaDB [test]>
MariaDB [test]> CREATE OR REPLACE PROCEDURE p1()
-> NO SQL
-> BEGIN
-> DECLARE i INTEGER;
-> FOR i IN 1..cnt() DO
-> SELECT i;
-> END FOR;
-> END;
-> //
Query OK, 0 rows affected (0.005 sec)
MariaDB [test]> delimiter ;
MariaDB [test]> CALL p1();
---
i
---
1
---
1 row in set (0.001 sec)
Query OK, 0 rows affected (0.001 sec)
MariaDB [test]>
MariaDB [test]>
MariaDB [test]> CALL p1();
imchifan@imchifan-vm:~/bugforge$
delimiter //
|
CREATE OR REPLACE FUNCTION cnt() |
RETURNS INTEGER |
NO SQL |
BEGIN
|
RETURN 1; |
END; |
//
|
CREATE OR REPLACE PROCEDURE p1() |
NO SQL |
BEGIN
|
DECLARE i INTEGER; |
FOR i IN 1..cnt() DO |
SELECT i; |
END FOR; |
END; |
//
|
delimiter ;
|
CALL p1();
|
CALL p1();
|
Attachments
Issue Links
- duplicates
-
MDEV-32308 Server crash on cleanup of non-fully-constructed-due-to-an-error CTE
-
- Closed
-
- relates to
-
MDEV-37702 Historical bugs still reappear in the fixed version
-
- Closed
-
-
MDEV-37734 [Regression] Bug #32308 (resolution label is fixed) still causes a crash
-
- Needs Feedback
-
-
MDEV-37735 [Regression] Bug #37172 (resolution label is fixed) still causes a crash
-
- Closed
-
-
MDEV-26115 Crash when calling stored function in FOR loop argument
-
- Closed
-