File tree Expand file tree Collapse file tree 1 file changed +41
-1
lines changed Expand file tree Collapse file tree 1 file changed +41
-1
lines changed Original file line number Diff line number Diff line change @@ -11440,7 +11440,8 @@ select * from t1 except (
1144011440 },
1144111441 },
1144211442 {
11443- // https://github.com/dolthub/go-mysql-server/pull/3176
11443+ // https://github.com/dolthub/dolt/issues/9733
11444+ // https://github.com/dolthub/dolt/issues/9739
1144411445 Name : "strings cast to numbers" ,
1144511446 SetUpScript : []string {
1144611447 "create table test01(pk varchar(20) primary key)" ,
@@ -11570,6 +11571,45 @@ select * from t1 except (
1157011571 {"a1a1" , "0.000" },
1157111572 },
1157211573 },
11574+ {
11575+ Query : "select * from test01 where pk in ('11')" ,
11576+ Expected : []sql.Row {{"11" }},
11577+ },
11578+ {
11579+ // https://github.com/dolthub/dolt/issues/9739
11580+ Skip : true ,
11581+ Dialect : "mysql" ,
11582+ Query : "select * from test01 where pk in (11)" ,
11583+ Expected : []sql.Row {
11584+ {"11" },
11585+ {"11d" },
11586+ {"11wha?" },
11587+ },
11588+ },
11589+ {
11590+ // https://github.com/dolthub/dolt/issues/9739
11591+ Skip : true ,
11592+ Dialect : "mysql" ,
11593+ Query : "select * from test01 where pk=3" ,
11594+ Expected : []sql.Row {
11595+ {" 3 12 4" },
11596+ {" 3. 12 4" },
11597+ {"3. 12 4" },
11598+ },
11599+ },
11600+ {
11601+ // https://github.com/dolthub/dolt/issues/9739
11602+ Skip : true ,
11603+ Dialect : "mysql" ,
11604+ Query : "select * from test01 where pk>=3 and pk < 4" ,
11605+ Expected : []sql.Row {
11606+ {" 3 12 4" },
11607+ {" 3. 12 4" },
11608+ {" 3.2 12 4" },
11609+ {"+3.1234" },
11610+ {"3. 12 4" },
11611+ },
11612+ },
1157311613 },
1157411614 },
1157511615}
You can’t perform that action at this time.
0 commit comments