PS 5.6.36 does not crash because;
5.6.36>CREATE TEMPORARY TABLE t1(f1 INT)ENGINE=MRG_MEMORY UNION(t1); ERROR 1286 (42000): Unknown storage engine 'MRG_MEMORY'
PS 5.6.36 does not crash because;
5.6.36>CREATE TEMPORARY TABLE t1(f1 INT)ENGINE= MRG_MEMORY UNION(t1);
ERROR 1286 (42000): Unknown storage engine 'MRG_MEMORY'