[fix] remove some internal urls and emails
This commit is contained in:
@ -92,7 +92,7 @@ while ($cnt <= 29)
|
||||
inc $cnt;
|
||||
}
|
||||
|
||||
#verify bugfix of https://work.aone.alibaba-inc.com/issue/29519901
|
||||
#verify bugfix of
|
||||
--disable_warnings
|
||||
drop table if exists t1;
|
||||
--enable_warnings
|
||||
|
||||
@ -168,7 +168,7 @@ while ($left <= $cnt)
|
||||
select case when 'a' = 'a' then 'branch1' when 'b' then c1 else c2 end from t1;
|
||||
--echo // 结果应该为2,且when expr上面都应该 有bool expr
|
||||
--echo // TODO: 没有出现预期的warning
|
||||
--echo // cast的bug: https://work.aone.alibaba-inc.com/issue/24092131
|
||||
--echo // cast的bug:
|
||||
select case when 'a' then 'str' when 'b' then c1 else c2 end from t1;
|
||||
--echo // 结果应该为'branch2',且if表达式会被转为case表达式,但是不应该有bool expr,因为判断本身就带有布尔语义
|
||||
select if ('a' = 'b', c1, 'branch2') from t1;
|
||||
|
||||
@ -29,7 +29,7 @@ select char_length(c2) from t1;
|
||||
select char_length(c3) from t1;
|
||||
select char_length(c4) from t1;
|
||||
select char_length(c5) from t1;
|
||||
# bug here: https://work.aone.alibaba-inc.com/issue/26106226
|
||||
# bug here:
|
||||
# select char_length(c6) from t1;
|
||||
|
||||
|
||||
|
||||
@ -162,7 +162,7 @@ drop table t1;
|
||||
|
||||
|
||||
|
||||
--echo ##bugfix: https://work.aone.alibaba-inc.com/issue/37798920
|
||||
--echo ##bugfix:
|
||||
create table t1 (pk double) PARTITION BY key (pk) partitions 1;
|
||||
insert into t1 values( NULLIF( 100.2345, 1 ));
|
||||
select * from t1;
|
||||
@ -189,7 +189,7 @@ from
|
||||
--enable_result_log
|
||||
|
||||
|
||||
##bugfix: https://work.aone.alibaba-inc.com/issue/28830638
|
||||
##bugfix:
|
||||
create table t1 (pk int);
|
||||
insert into t1 values (1);
|
||||
select pk, ( NULLIF( 14152561829011783680, INSTR( TRIM( SUBSTRING( HEX( SUBSTRING( 'a',1, LEAST( 218, 20 ) ) ) , 1 , LEAST( 218, 20 ) ) ), 'oh' ) ) ) s , INSTR( TRIM( SUBSTRING( HEX( SUBSTRING( 'a',1, LEAST( 218, 20 ) ) ) , 1 , LEAST( 218, 20 ) ) ), 'oh' ) s2 from t1;
|
||||
@ -210,7 +210,7 @@ desc t2;
|
||||
select * from t2;
|
||||
drop table t1,t2;
|
||||
|
||||
## https://work.aone.alibaba-inc.com/issue/28471451
|
||||
##
|
||||
select collation(nullif('a', binary 'b'));
|
||||
|
||||
## test nullif with enumset parameter.
|
||||
|
||||
@ -73,7 +73,7 @@ while ($left <= $cnt)
|
||||
--sleep 2
|
||||
--explain_protocol 0
|
||||
set timestamp = 1600000000;
|
||||
--echo ##bugfix: https://work.aone.alibaba-inc.com/issue/37931049
|
||||
--echo ##bugfix:
|
||||
select ifnull(null, utc_time(4));
|
||||
|
||||
--disable_warnings
|
||||
|
||||
@ -145,7 +145,7 @@ select sign( cast(a2 as char(1024)) ) , sign( cast(a4 as char(1024)) ) from t2 f
|
||||
|
||||
--sleep 2
|
||||
|
||||
--echo #https://work.aone.alibaba-inc.com/issue/32398792
|
||||
--echo #
|
||||
select sign(1E-300) from dual;
|
||||
select sign(1E-400) from dual;
|
||||
--source mysql_test/include/explain_end.inc
|
||||
|
||||
@ -46,7 +46,7 @@ select substring_index(1.414, 1, 2);
|
||||
--disable_warnings
|
||||
select c1, substring_index("a,b,c,d", ",", c1), c2, substring_index("a,b,c,d", ",", c2), c3, substring_index("a,b,c,d", ",", c3), c4, substring_index("a,b,c,d", ",", c4) from t1;
|
||||
|
||||
--echo //for https://work.aone.alibaba-inc.com/issue/30871483 https://work.aone.alibaba-inc.com/issue/30873161 null_标记覆盖问题
|
||||
--echo //for
|
||||
drop table if exists t2, t3;
|
||||
create table t2(c1 varchar(20));
|
||||
create table t3(c1 varchar(20));
|
||||
|
||||
@ -37,7 +37,7 @@ alter system flush plan cache global;
|
||||
set @@ob_enable_plan_cache = 0;
|
||||
let $cnt=22;
|
||||
let $left=1;
|
||||
## bug: https://work.aone.alibaba-inc.com/issue/31722560
|
||||
## bug:
|
||||
## timestampadd(second, c14/c16, c19/c20)四种情况结果有误
|
||||
while ($left <= $cnt)
|
||||
{
|
||||
|
||||
@ -51,7 +51,7 @@ select concat('[', trim(both c2 from c1), ']') x from t1;
|
||||
drop table if exists t1;
|
||||
drop view if exists v1;
|
||||
--enable_warnings
|
||||
--echo // bug: https://work.aone.alibaba-inc.com/issue/29127375
|
||||
--echo // bug:
|
||||
create view v1 as select nullif(trim(repeat('abc', 1+1)), 'a');
|
||||
desc v1;
|
||||
select * from v1;
|
||||
|
||||
@ -66,7 +66,7 @@ select truncate(1.11, c_null) from t1;
|
||||
select truncate(c_null, -1) from t1;
|
||||
|
||||
## truncate(c20, c16) 结果与mysql不一致,cast(c16 as signed)的结果发生变化导致truncate的结果变化
|
||||
## cast的结果符合预期,tuncate的结果不符合预期。bug: https://work.aone.alibaba-inc.com/issue/31724351
|
||||
## cast的结果符合预期,tuncate的结果不符合预期。bug:
|
||||
let $cnt=22;
|
||||
let $left=1;
|
||||
while ($left <= $cnt)
|
||||
|
||||
@ -103,7 +103,7 @@ show create table t2;
|
||||
drop table t1;
|
||||
drop table t2;
|
||||
|
||||
## bugfix#https://work.aone.alibaba-inc.com/issue/37018706
|
||||
## bugfix#
|
||||
SELECT CASE 'A' WHEN 0 THEN 0 ELSE 1 END VAL;
|
||||
|
||||
--sleep 2
|
||||
|
||||
@ -273,7 +273,7 @@ insert into t2 (c1, c2, c3, c4) values (29, 12, null, 'a');
|
||||
|
||||
--explain_protocol 3
|
||||
select c1,c1 in (select c1 from t2 where t2.c1 >= t1.c1) as x from t1;
|
||||
#https://work.aone.alibaba-inc.com/issue/47201028
|
||||
#
|
||||
select c1, (select c1 from t2 where t2.c1 >= t1.c1 and t2.c2 > t1.c3 limit 1) as x from t1;
|
||||
select c1,c1 + (select c1 from t2 where t2.c1 = t1.c1) as x from t1;
|
||||
select c1,c1 in (select c1 from t2 where t2.c1 >= t1.c1) and c1 in (select c2 from t2 where t2.c1 >= t1.c1) as x from t1;
|
||||
|
||||
@ -99,7 +99,7 @@ select * from t2;
|
||||
drop table t1;
|
||||
drop table t2;
|
||||
|
||||
--echo bug: https://work.aone.alibaba-inc.com/issue/29047026
|
||||
--echo bug:
|
||||
--disable_warnings
|
||||
drop table if exists t2;
|
||||
--enable_warnings
|
||||
|
||||
Reference in New Issue
Block a user