mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Merge olga.mysql.com:/home/igor/mysql-5.0-opt
into olga.mysql.com:/home/igor/mysql-5.1-opt-merge
This commit is contained in:
@@ -2906,6 +2906,20 @@ SELECT id, st FROM t1
|
||||
|
||||
DROP TABLE t1,t2;
|
||||
|
||||
#
|
||||
# Bug #28728: crash with EXPLAIN EXTENDED for a query with a derived table
|
||||
# over a grouping subselect
|
||||
#
|
||||
|
||||
CREATE TABLE t1 (a int);
|
||||
|
||||
INSERT INTO t1 VALUES (1), (2);
|
||||
|
||||
EXPLAIN EXTENDED
|
||||
SELECT * FROM (SELECT count(*) FROM t1 GROUP BY a) as res;
|
||||
|
||||
DROP TABLE t1;
|
||||
|
||||
--echo End of 5.0 tests.
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user