1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-4269 fix.

Item_default_value inherited form Item_field so should create temporary table field similary.
This commit is contained in:
unknown
2013-03-18 15:07:52 +02:00
parent 589247ae86
commit 2cd7cf8fe6
3 changed files with 29 additions and 0 deletions

View File

@ -185,3 +185,17 @@ member_id_to COUNT(*)
518491 5
DROP TABLE t1;
# End of test BUG#12713907
#
# MDEV-4269: crash when grouping by values()
#
SELECT @@storage_engine INTO @old_engine;
set storage_engine=innodb;
create table y select 1 b;
select 1 from y group by b;
1
1
select 1 from y group by values(b);
1
1
drop table y;
SET storage_engine=@old_engine;