30 Jul
2015
30 Jul
'15
6:13 p.m.
Hi, Sanja! On Apr 23, sanja@mariadb.com wrote:
revision-id: 9f8a458fb2d07298810bb5d9824ce728017bfb32 parent(s): e540d023e2ec6f37efc9ab695ccdfd4a6744ad64 committer: Oleksandr Byelkin branch nick: server timestamp: 2015-04-23 20:08:57 +0200 message:
MDEV-7846: Server crashes in Item_subselect::fix_fields or fails with Thread stack overrun
Substitute into transformed subselects original left expression and than register its change in case it was substituted.
Looks mostly ok to me. But please: 1. Add comments (the patch is attached) 2. Add a test case with row items 3. In your test case - if you remove GROUP BY you get a crash again. This might be a different bug, though. Regards, Sergei