[MDEV-20393] Exception is not captured by sqlexception handler on UPDATE with LEFT JOIN Created: 2019-08-20 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Stored routines |
| Affects Version/s: | 10.3.17, 10.4.7 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Thomas G. Jensen | Assignee: | Oleksandr Byelkin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
lubuntu 16.04 |
||
| Description |
|
DROP TABLE IF EXISTS tab1; CREATE TABLE tab1 (t1_col1 int primary key); INSERT tab1 VALUES (1), (2), (3), (4); CREATE PROCEDURE sp_test() DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN UPDATE tab1 SET t1_col1 = 1 WHERE t1_col1 = 4; – The UPDATE using LEFT JOIN is not captured by the continue handler. Why? END; CALL sp_test(); Output:
|