Commit 7ca65155 authored by sergefp@mysql.com's avatar sergefp@mysql.com
Browse files

Post-merge fixes

parent 849d0f9d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -811,6 +811,7 @@ insert into t1 values (-0.123456,0.123456);
select group_concat(f1),group_concat(f2) from t1;
group_concat(f1)	group_concat(f2)
-0.123456	0.123456
drop table t1;
create table t1 (
ua_id decimal(22,0) not null,
ua_invited_by_id decimal(22,0) default NULL,
+15 −0
Original line number Diff line number Diff line
@@ -425,5 +425,20 @@ insert into t1 values (-0.123456,0.123456);
select group_concat(f1),group_concat(f2) from 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