Bug #8785 | INFORMATION_SCHEMA.COLUMNS.COLUMN_DEFAULT strange content | ||
---|---|---|---|
Submitted: | 24 Feb 2005 17:22 | Modified: | 16 Mar 2005 18:53 |
Reporter: | Matthias Leich | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.1.10 | OS: | |
Assigned to: | Alexander Barkov | CPU Architecture: | Any |
[24 Feb 2005 17:22]
Matthias Leich
[24 Feb 2005 17:24]
Matthias Leich
test case
Attachment: ml32.test (application/test, text), 464 bytes.
[10 Mar 2005 11:55]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/22888
[10 Mar 2005 12:00]
Sergei Glukhov
This bug exists in 4.1 How to repeat: set @@session.sql_mode=pipes_as_concat; create table t1 (f1 varchar(1) not null) default charset utf8; insert into t1 values (''), (''); select '->' || f1 || '<-' from t1; drop table t1; set @@session.sql_mode=default;
[11 Mar 2005 15:19]
Alexander Barkov
An easier example: create table t1 (f1 varchar(1) not null) default charset utf8; insert into t1 values (''), (''); select concat(concat('->',f1),'<-') from t1; ------------------------------+ | concat(concat('->',f1),'<-') | +------------------------------+ | -><- | | -><-<- | +------------------------------+ 2 rows in set (0.00 sec)
[15 Mar 2005 13:19]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/23036
[16 Mar 2005 10:47]
Alexander Barkov
Fixed in 4.1.11
[16 Mar 2005 18:53]
Paul DuBois
Noted in 4.1.11 changelog.