Loading mysql-test/r/func_sapdb.result +2 −2 Original line number Diff line number Diff line Loading @@ -180,8 +180,8 @@ Field Type Null Key Default Extra f1 date NO 0000-00-00 f2 datetime YES NULL f3 time YES NULL f4 time NO 00:00:00 f5 time NO 00:00:00 f4 time YES NULL f5 time YES NULL f6 time NO 00:00:00 f7 datetime YES NULL f8 date YES NULL Loading mysql-test/r/type_newdecimal.result +1 −1 Original line number Diff line number Diff line Loading @@ -176,7 +176,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `round(15.4,-1)` decimal(3,0) unsigned NOT NULL default '0', `truncate(-5678.123451,-3)` decimal(4,0) NOT NULL default '0', `abs(-1.1)` decimal(2,1) default NULL, `abs(-1.1)` decimal(2,1) NOT NULL default '0.0', `-(-1.1)` decimal(2,1) NOT NULL default '0.0' ) ENGINE=MyISAM DEFAULT CHARSET=latin1 drop table t1; Loading mysql-test/r/user_var.result +11 −0 Original line number Diff line number Diff line Loading @@ -123,6 +123,17 @@ select @a+0, @a:=@a+0+count(*), count(*), @a+0 from t1 group by i; 0 1 1 0 1 3 2 0 3 6 3 0 set @a=0; select @a,@a:="hello",@a,@a:=3,@a,@a:="hello again" from t1 group by i; @a @a:="hello" @a @a:=3 @a @a:="hello again" 0 hello 0 3 0 hello again 0 hello 0 3 0 hello again 0 hello 0 3 0 hello again select @a,@a:="hello",@a,@a:=3,@a,@a:="hello again" from t1 group by i; @a @a:="hello" @a @a:=3 @a @a:="hello again" hello again hello hello again 3 hello again hello again hello again hello hello again 3 hello again hello again hello again hello hello again 3 hello again hello again drop table t1; set @a=_latin2'test'; select charset(@a),collation(@a),coercibility(@a); Loading mysql-test/t/disabled.def +0 −1 Original line number Diff line number Diff line Loading @@ -16,4 +16,3 @@ rpl_until : Unstable test case, bug#12429 rpl_deadlock : Unstable test case, bug#12429 kill : Unstable test case, bug#9712 archive_gis : The test fails on 32bit Linux user_var : Ramil should fix this soon mysql-test/t/user_var.test +4 −0 Original line number Diff line number Diff line Loading @@ -70,6 +70,10 @@ create table t1 (i int not null); insert t1 values (1),(2),(2),(3),(3),(3); select @a:=0; select @a, @a:=@a+count(*), count(*), @a from t1 group by i; select @a:=0; select @a+0, @a:=@a+0+count(*), count(*), @a+0 from t1 group by i; set @a=0; select @a,@a:="hello",@a,@a:=3,@a,@a:="hello again" from t1 group by i; select @a,@a:="hello",@a,@a:=3,@a,@a:="hello again" from t1 group by i; drop table t1; # Loading Loading
mysql-test/r/func_sapdb.result +2 −2 Original line number Diff line number Diff line Loading @@ -180,8 +180,8 @@ Field Type Null Key Default Extra f1 date NO 0000-00-00 f2 datetime YES NULL f3 time YES NULL f4 time NO 00:00:00 f5 time NO 00:00:00 f4 time YES NULL f5 time YES NULL f6 time NO 00:00:00 f7 datetime YES NULL f8 date YES NULL Loading
mysql-test/r/type_newdecimal.result +1 −1 Original line number Diff line number Diff line Loading @@ -176,7 +176,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `round(15.4,-1)` decimal(3,0) unsigned NOT NULL default '0', `truncate(-5678.123451,-3)` decimal(4,0) NOT NULL default '0', `abs(-1.1)` decimal(2,1) default NULL, `abs(-1.1)` decimal(2,1) NOT NULL default '0.0', `-(-1.1)` decimal(2,1) NOT NULL default '0.0' ) ENGINE=MyISAM DEFAULT CHARSET=latin1 drop table t1; Loading
mysql-test/r/user_var.result +11 −0 Original line number Diff line number Diff line Loading @@ -123,6 +123,17 @@ select @a+0, @a:=@a+0+count(*), count(*), @a+0 from t1 group by i; 0 1 1 0 1 3 2 0 3 6 3 0 set @a=0; select @a,@a:="hello",@a,@a:=3,@a,@a:="hello again" from t1 group by i; @a @a:="hello" @a @a:=3 @a @a:="hello again" 0 hello 0 3 0 hello again 0 hello 0 3 0 hello again 0 hello 0 3 0 hello again select @a,@a:="hello",@a,@a:=3,@a,@a:="hello again" from t1 group by i; @a @a:="hello" @a @a:=3 @a @a:="hello again" hello again hello hello again 3 hello again hello again hello again hello hello again 3 hello again hello again hello again hello hello again 3 hello again hello again drop table t1; set @a=_latin2'test'; select charset(@a),collation(@a),coercibility(@a); Loading
mysql-test/t/disabled.def +0 −1 Original line number Diff line number Diff line Loading @@ -16,4 +16,3 @@ rpl_until : Unstable test case, bug#12429 rpl_deadlock : Unstable test case, bug#12429 kill : Unstable test case, bug#9712 archive_gis : The test fails on 32bit Linux user_var : Ramil should fix this soon
mysql-test/t/user_var.test +4 −0 Original line number Diff line number Diff line Loading @@ -70,6 +70,10 @@ create table t1 (i int not null); insert t1 values (1),(2),(2),(3),(3),(3); select @a:=0; select @a, @a:=@a+count(*), count(*), @a from t1 group by i; select @a:=0; select @a+0, @a:=@a+0+count(*), count(*), @a+0 from t1 group by i; set @a=0; select @a,@a:="hello",@a,@a:=3,@a,@a:="hello again" from t1 group by i; select @a,@a:="hello",@a,@a:=3,@a,@a:="hello again" from t1 group by i; drop table t1; # Loading