Commit a20182bc authored by unknown's avatar unknown

Post-merge fixes

parent 48b307c6
...@@ -811,6 +811,7 @@ insert into t1 values (-0.123456,0.123456); ...@@ -811,6 +811,7 @@ insert into t1 values (-0.123456,0.123456);
select group_concat(f1),group_concat(f2) from t1; select group_concat(f1),group_concat(f2) from t1;
group_concat(f1) group_concat(f2) group_concat(f1) group_concat(f2)
-0.123456 0.123456 -0.123456 0.123456
drop table t1;
create table t1 ( create table t1 (
ua_id decimal(22,0) not null, ua_id decimal(22,0) not null,
ua_invited_by_id decimal(22,0) default NULL, ua_invited_by_id decimal(22,0) default NULL,
......
...@@ -425,5 +425,20 @@ insert into t1 values (-0.123456,0.123456); ...@@ -425,5 +425,20 @@ insert into t1 values (-0.123456,0.123456);
select group_concat(f1),group_concat(f2) from t1; select group_concat(f1),group_concat(f2) from t1;
drop table t1; drop table t1;
#
# BUG#31450 "Query causes error 1048"
#
create table t1 (
ua_id decimal(22,0) not null,
ua_invited_by_id decimal(22,0) default NULL,
primary key(ua_id)
);
insert into t1 values (123, NULL), (456, NULL);
--echo this must not produce error 1048:
select * from t1 where ua_invited_by_id not in (select ua_id from t1);
drop table t1;
--echo End of 5.0 tests --echo End of 5.0 tests
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment