@@ -774,28 +774,28 @@ SELECT 'a' IN ('a',2);
7747741
775775Warnings:
776776Note 1105 DBUG: [0] arg=1 handler=0 (longblob)
777- Note 1105 DBUG: [1] arg=2 handler=1 (double )
777+ Note 1105 DBUG: [1] arg=2 handler=1 (decimal )
778778Note 1105 DBUG: types_compatible=no bisect=no
779779SELECT 'a' IN ('a',2,NULL);
780780'a' IN ('a',2,NULL)
7817811
782782Warnings:
783783Note 1105 DBUG: [0] arg=1 handler=0 (longblob)
784- Note 1105 DBUG: [1] arg=2 handler=1 (double )
784+ Note 1105 DBUG: [1] arg=2 handler=1 (decimal )
785785Note 1105 DBUG: types_compatible=no bisect=no
786786SELECT 'a' NOT IN ('a',2);
787787'a' NOT IN ('a',2)
7887880
789789Warnings:
790790Note 1105 DBUG: [0] arg=1 handler=0 (longblob)
791- Note 1105 DBUG: [1] arg=2 handler=1 (double )
791+ Note 1105 DBUG: [1] arg=2 handler=1 (decimal )
792792Note 1105 DBUG: types_compatible=no bisect=no
793793SELECT 'a' NOT IN ('a',2,NULL);
794794'a' NOT IN ('a',2,NULL)
7957950
796796Warnings:
797797Note 1105 DBUG: [0] arg=1 handler=0 (longblob)
798- Note 1105 DBUG: [1] arg=2 handler=1 (double )
798+ Note 1105 DBUG: [1] arg=2 handler=1 (decimal )
799799Note 1105 DBUG: types_compatible=no bisect=no
800800SELECT TIME'10:20:30' IN (1,TIME'10:20:30');
801801TIME'10:20:30' IN (1,TIME'10:20:30')
@@ -999,25 +999,25 @@ SELECT a IN (1,'1') FROM t1;
999999a IN (1,'1')
10001000Warnings:
10011001Note 1105 DBUG: [0] arg=1 handler=0 (bigint)
1002- Note 1105 DBUG: [1] arg=2 handler=1 (double )
1002+ Note 1105 DBUG: [1] arg=2 handler=1 (decimal )
10031003Note 1105 DBUG: types_compatible=no bisect=no
10041004SELECT a IN (1,'1',NULL) FROM t1;
10051005a IN (1,'1',NULL)
10061006Warnings:
10071007Note 1105 DBUG: [0] arg=1 handler=0 (bigint)
1008- Note 1105 DBUG: [1] arg=2 handler=1 (double )
1008+ Note 1105 DBUG: [1] arg=2 handler=1 (decimal )
10091009Note 1105 DBUG: types_compatible=no bisect=no
10101010SELECT a NOT IN (1,'1') FROM t1;
10111011a NOT IN (1,'1')
10121012Warnings:
10131013Note 1105 DBUG: [0] arg=1 handler=0 (bigint)
1014- Note 1105 DBUG: [1] arg=2 handler=1 (double )
1014+ Note 1105 DBUG: [1] arg=2 handler=1 (decimal )
10151015Note 1105 DBUG: types_compatible=no bisect=no
10161016SELECT a NOT IN (1,'1',NULL) FROM t1;
10171017a NOT IN (1,'1',NULL)
10181018Warnings:
10191019Note 1105 DBUG: [0] arg=1 handler=0 (bigint)
1020- Note 1105 DBUG: [1] arg=2 handler=1 (double )
1020+ Note 1105 DBUG: [1] arg=2 handler=1 (decimal )
10211021Note 1105 DBUG: types_compatible=no bisect=no
10221022SELECT a IN (1,TIME'10:20:30') FROM t1;
10231023a IN (1,TIME'10:20:30')
@@ -1197,7 +1197,7 @@ SELECT a IN ('a',1) FROM t1;
11971197a IN ('a',1)
11981198Warnings:
11991199Note 1105 DBUG: [0] arg=1 handler=0 (longblob)
1200- Note 1105 DBUG: [1] arg=2 handler=1 (double )
1200+ Note 1105 DBUG: [1] arg=2 handler=1 (decimal )
12011201Note 1105 DBUG: types_compatible=no bisect=no
12021202SELECT a IN ('a',TIME'10:20:30') FROM t1;
12031203a IN ('a',TIME'10:20:30')
@@ -1209,7 +1209,7 @@ SELECT a NOT IN ('a',1) FROM t1;
12091209a NOT IN ('a',1)
12101210Warnings:
12111211Note 1105 DBUG: [0] arg=1 handler=0 (longblob)
1212- Note 1105 DBUG: [1] arg=2 handler=1 (double )
1212+ Note 1105 DBUG: [1] arg=2 handler=1 (decimal )
12131213Note 1105 DBUG: types_compatible=no bisect=no
12141214SELECT a NOT IN ('a',TIME'10:20:30') FROM t1;
12151215a NOT IN ('a',TIME'10:20:30')
@@ -1577,32 +1577,32 @@ A NULL
15771577B NULL
15781578Warnings:
15791579Note 1105 DBUG: [0] arg=2 handler=0 (longblob)
1580- Note 1105 DBUG: [1] arg=3 handler=1 (double )
1580+ Note 1105 DBUG: [1] arg=3 handler=1 (decimal )
15811581Note 1105 DBUG: types_compatible=no bisect=no
15821582SELECT a,NULL AS b FROM t1 GROUP BY a HAVING 'A' IN ('A',b,10);
15831583a b
15841584A NULL
15851585B NULL
15861586Warnings:
15871587Note 1105 DBUG: [0] arg=1 handler=0 (longblob)
1588- Note 1105 DBUG: [1] arg=3 handler=1 (double )
1588+ Note 1105 DBUG: [1] arg=3 handler=1 (decimal )
15891589Note 1105 DBUG: types_compatible=no bisect=no
15901590SELECT a,NULL AS b FROM t1 GROUP BY a HAVING 'A' IN (b,a,10);
15911591a b
15921592A NULL
15931593Warnings:
15941594Note 1105 DBUG: [0] arg=2 handler=0 (longblob)
1595- Note 1105 DBUG: [1] arg=3 handler=1 (double )
1595+ Note 1105 DBUG: [1] arg=3 handler=1 (decimal )
15961596Note 1105 DBUG: types_compatible=no bisect=no
1597- Warning 1292 Truncated incorrect DOUBLE value: 'A'
1597+ Warning 1292 Truncated incorrect DECIMAL value: 'A'
15981598SELECT a,NULL AS b FROM t1 GROUP BY a HAVING 'A' IN (a,b,10);
15991599a b
16001600A NULL
16011601Warnings:
16021602Note 1105 DBUG: [0] arg=1 handler=0 (longblob)
1603- Note 1105 DBUG: [1] arg=3 handler=1 (double )
1603+ Note 1105 DBUG: [1] arg=3 handler=1 (decimal )
16041604Note 1105 DBUG: types_compatible=no bisect=no
1605- Warning 1292 Truncated incorrect DOUBLE value: 'A'
1605+ Warning 1292 Truncated incorrect DECIMAL value: 'A'
16061606DROP TABLE t1;
16071607#
16081608# MDEV-11497 Wrong result for (int_expr IN (mixture of signed and unsigned expressions))
0 commit comments