@@ -7,7 +7,7 @@ PREPARE stmt FROM "CREATE TABLE tmp AS SELECT * FROM t1 WHERE 'foo' && 0";
7
7
Warnings:
8
8
Warning 1292 Truncated incorrect DOUBLE value: 'foo'
9
9
EXECUTE stmt;
10
- ERROR 22007: Truncated incorrect INTEGER value: 'foo'
10
+ ERROR 22007: Truncated incorrect DOUBLE value: 'foo'
11
11
SELECT a FROM t1 GROUP BY NULL WITH ROLLUP;
12
12
a
13
13
DROP TABLE t1;
@@ -18,7 +18,7 @@ PREPARE stmt FROM "CREATE TABLE tmp AS SELECT * FROM t1 WHERE 'foo' && 0";
18
18
Warnings:
19
19
Warning 1292 Truncated incorrect DOUBLE value: 'foo'
20
20
EXECUTE stmt;
21
- ERROR 22007: Truncated incorrect INTEGER value: 'foo'
21
+ ERROR 22007: Truncated incorrect DOUBLE value: 'foo'
22
22
SET @a = REPLACE( @@global.optimizer_switch, '=on', '=off' ) ;
23
23
DROP TABLE t1;
24
24
SET sql_mode=DEFAULT;
@@ -30,7 +30,7 @@ PREPARE stmt FROM "CREATE TABLE ps AS SELECT 1 FROM DUAL WHERE 'foo' && 0";
30
30
Warnings:
31
31
Warning 1292 Truncated incorrect DOUBLE value: 'foo'
32
32
EXECUTE stmt;
33
- ERROR 22007: Truncated incorrect INTEGER value: 'foo'
33
+ ERROR 22007: Truncated incorrect DOUBLE value: 'foo'
34
34
SELECT 'All done';
35
35
All done
36
36
All done
@@ -40,7 +40,7 @@ PREPARE stmt FROM "CREATE TABLE ps AS SELECT 1 FROM DUAL WHERE 'foo' && 0";
40
40
Warnings:
41
41
Warning 1292 Truncated incorrect DOUBLE value: 'foo'
42
42
EXECUTE stmt;
43
- ERROR 22007: Truncated incorrect INTEGER value: 'foo'
43
+ ERROR 22007: Truncated incorrect DOUBLE value: 'foo'
44
44
DEALLOCATE PREPARE stmt;
45
45
SELECT 'All done';
46
46
All done
@@ -52,7 +52,7 @@ PREPARE stmt FROM "CREATE TABLE tmp AS SELECT * FROM t1 WHERE 'foo' && 0";
52
52
Warnings:
53
53
Warning 1292 Truncated incorrect DOUBLE value: 'foo'
54
54
EXECUTE stmt;
55
- ERROR 22007: Truncated incorrect INTEGER value: 'foo'
55
+ ERROR 22007: Truncated incorrect DOUBLE value: 'foo'
56
56
SELECT a FROM t1 GROUP BY a;
57
57
a
58
58
SELECT * FROM t1;
@@ -65,7 +65,7 @@ PREPARE stmt FROM "CREATE TABLE tmp AS SELECT * FROM t1 WHERE 'foo' && 0";
65
65
Warnings:
66
66
Warning 1292 Truncated incorrect DOUBLE value: 'foo'
67
67
EXECUTE stmt;
68
- ERROR 22007: Truncated incorrect INTEGER value: 'foo'
68
+ ERROR 22007: Truncated incorrect DOUBLE value: 'foo'
69
69
SELECT a FROM t1 GROUP BY a;
70
70
a
71
71
INSERT t1 SELECT * FROM ( SELECT * FROM t1 ) sq;
0 commit comments