Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.5.11, 10.4(EOL), 10.5, 10.6
-
None
-
Microsoft Windows 10
mariadb Ver 15.1 Distrib 10.5.11-MariaDB, for Win64 (AMD64), source revision dc82effa5df5e59be6c7de4038f0a832f37d9bdc
Lenovo t560 (Intel)
Description
Expected:
Running the following query should produce an error about missing column 't.fup'.
Actual:
Instead I get error code 1, "MySQL server has gone away". Which indicates the server has crashed.
— Query code —
use test;
DROP TABLE IF EXISTS tmp; |
CREATE TEMPORARY TABLE tmp (ID INTEGER UNSIGNED NOT NULL); |
|
INSERT INTO tmp |
SELECT t.foo AS ID |
FROM (select 1 AS foo) AS t |
LEFT JOIN (SELECT 1 AS dbl) AS broken ON ( |
SELECT MAX(1) |
FROM (select 3 AS baz) AS c |
WHERE c.baz = t.fup |
)
|
;
|
See attached *.err file for crash details. I tested this same query on MariaDB 10.4.12 and it worked fine (produced expected error without crash).
Attachments
Issue Links
- duplicates
-
MDEV-26412 Server crash in Item_field::fix_outer_field for INSERT SELECT
- Closed
- relates to
-
MDEV-25206 Crash with CREATE VIEW .. SELECT with non-existing field in ON condition
- Closed
-
MDEV-29088 Server crash upon CREATE VIEW with unknown column in ON condition
- Closed