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

fix for bug #4082: Integer lengths cause truncation with DISTINCT CONCAT and InnoDB

This commit is contained in:
unknown
2005-05-06 20:11:01 +05:00
parent a67043dbd8
commit a56921bbe0
5 changed files with 21 additions and 6 deletions

View File

@ -1637,3 +1637,9 @@ ERROR 42S21: Duplicate column name 'c1'
alter table t1 add key (c1,c1,c2);
ERROR 42S21: Duplicate column name 'c1'
drop table t1;
create table t1(a int(1) , b int(1)) engine=innodb;
insert into t1 values ('1111', '3333');
select distinct concat(a, b) from t1;
concat(a, b)
11113333
drop table t1;