-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
affects-4.0This bug affects 4.0.x versions.This bug affects 4.0.x versions.affects-5.0This bug affects 5.0.x versions.This bug affects 5.0.x versions.affects-5.1This bug affects 5.1.x versions.This bug affects 5.1.x versions.affects-5.2This bug affects 5.2.x versions.This bug affects 5.2.x versions.affects-5.3This bug affects 5.3.x versions.This bug affects 5.3.x versions.affects-5.4This bug affects the 5.4.x(LTS) versions.This bug affects the 5.4.x(LTS) versions.affects-6.1This bug affects the 6.1.x(LTS) versions.This bug affects the 6.1.x(LTS) versions.affects-6.5This bug affects the 6.5.x(LTS) versions.This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.This bug affects the 7.5.x(LTS) versions.affects-8.0affects-8.1This bug affects the 8.1.x(LTS) versions.This bug affects the 8.1.x(LTS) versions.severity/majorsig/executionSIG executionSIG executiontype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
sqls := []string{
`create table tbl_1 ( col_1 date default '2013-07-07' ,col_2 year , primary key ( col_2 ,col_1 ) /*T![clustered_index] clustered */ ) charset gbk collate gbk_chinese_ci ;`,
`create table tbl_2 ( col_3 text ( 163 ) not null ,col_4 decimal ( 49 , 29 ) not null default 0.87 , unique key idx_2 ( col_4 ,col_3 ( 1 ) ) ) charset utf8mb4 collate utf8mb4_unicode_ci ;`,
`insert into tbl_1 values ( '1995-12-26','2007' );`,
`insert into tbl_1 values ( '1986-01-27','2004' );`,
`insert into tbl_2 values ( 'B牔Y橲袭抣oX緁wr',0.4 );`,
`insert into tbl_2 values ( 'MIcT@輧覅悗)^9齝3鈙qgH-3',20278.284 );`,
`create table tbl_3 ( col_5 varbinary ( 30 ) ,col_6 timestamp not null , unique key idx_3 ( col_5 ( 2 ) ,col_6 ) ) charset utf8mb4 collate utf8mb4_unicode_ci ;`,
`create table tbl_4 ( col_7 year default '1998' ,col_8 float not null , key idx_4 ( col_8 ) ) charset gbk collate gbk_chinese_ci ;`,
`update tbl_4 set tbl_4.col_7 = '1970' ,tbl_4.col_8 = 9576.383120177688 where IsNull( tbl_4.col_7 ) or tbl_4.col_7 between '2007' and '1992' ;`,
`insert into tbl_2 set col_3 = '豒8MDCoP俇', col_4 = 45975.7508 on duplicate key update col_4 = 6.09, col_3 = '暌tN箳F羦^9dDp##2';`,
`create table tbl_5 ( col_9 datetime not null default '1997-02-01' ,col_10 set ( 'Alice','Bob','Charlie','David' ) , key idx_5 ( col_10 ,col_9 ) ) charset utf8mb4 collate utf8mb4_unicode_ci ;`,
`delete from tbl_2 where tbl_2.col_4 in ( 8 ,4.2 ,2 ,548177.198 ,320.4688 );`,
`delete from tbl_1 where col_1 is null ;`,
`insert into tbl_3 set col_5 = 'tbbZXZ%+Xa%', col_6 = '2004-12-10' on duplicate key update col_5 = 'cH^fYq)QHqk&2', col_6 = '2017-10-25';`,
`replace into tbl_2 set col_3 = 'm璤L$镡k菅誴t募0驰', col_4 = 26;`,
`update tbl_4 set tbl_4.col_7 = '2022' where not( tbl_4.col_8 between 3347.8054742388067 and 5012.483302961393 ) and tbl_4.col_8 in ( select col_3 from tbl_2 where tbl_4.col_8 between 3595.8669129337122 and 2395.668689032017 ) ;`,
}
2. What did you expect to see? (Required)
Either stable failure or stable success.
3. What did you see instead (Required)
The last statement randomly fails with [types:1292]Truncated incorrect DOUBLE value: 'B牔Y橲袭抣oX緁wr'
4. What is your TiDB version? (Required)
master (735adb0)
Metadata
Metadata
Assignees
Labels
affects-4.0This bug affects 4.0.x versions.This bug affects 4.0.x versions.affects-5.0This bug affects 5.0.x versions.This bug affects 5.0.x versions.affects-5.1This bug affects 5.1.x versions.This bug affects 5.1.x versions.affects-5.2This bug affects 5.2.x versions.This bug affects 5.2.x versions.affects-5.3This bug affects 5.3.x versions.This bug affects 5.3.x versions.affects-5.4This bug affects the 5.4.x(LTS) versions.This bug affects the 5.4.x(LTS) versions.affects-6.1This bug affects the 6.1.x(LTS) versions.This bug affects the 6.1.x(LTS) versions.affects-6.5This bug affects the 6.5.x(LTS) versions.This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.This bug affects the 7.5.x(LTS) versions.affects-8.0affects-8.1This bug affects the 8.1.x(LTS) versions.This bug affects the 8.1.x(LTS) versions.severity/majorsig/executionSIG executionSIG executiontype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.