Commit 965c72d3 authored by Sergei Petrunia's avatar Sergei Petrunia

MDEV-12474 - Fails in fulltest

Apply fix for https://github.com/facebook/mysql-5.6/issues/748
A few tests in rocksdb suite fail with --ps-protocol

They fail because --ps-protocol uses different data format on the
wire. Work around that by doing a dummy CONCAT operation which forces
the data to be transfered in text form (like it is done without
--ps-protocol)
parent 771305b2
...@@ -1643,17 +1643,27 @@ r1_1 -0.9 ...@@ -1643,17 +1643,27 @@ r1_1 -0.9
r1_1 0.0 r1_1 0.0
r1_1 0.9 r1_1 0.9
r1_1 0.9 r1_1 0.9
SELECT MAX(f), MAX(f0), MAX(r1_1), MAX(f23_0), MAX(f20_3), MAX(d), MAX(d1_0), MAX(d10_10), MAX(d53), MAX(d53_10) FROM t1; SELECT
MAX(f) 9.999999680285692e37 CONCAT('', MAX(f)),
MAX(d) 1e81 CONCAT('', MAX(f0)),
MAX(d10_10) 0.9999999999 CONCAT('', MAX(r1_1)),
MAX(d1_0) 9 CONCAT('', MAX(f23_0)),
MAX(d53) 100000000000000000000000000000000000000000000000000000 CONCAT('', MAX(f20_3)),
MAX(d53_10) 10000000000000000000000000000000000000000000.0000000000 CONCAT('', MAX(d)),
MAX(f0) 9.999999680285692e37 CONCAT('', MAX(d1_0)),
MAX(f20_3) 99999998430674940.000 CONCAT('', MAX(d10_10)),
MAX(f23_0) 9.999999680285692e37 CONCAT('', MAX(d53)),
MAX(r1_1) 0.9 CONCAT('', MAX(d53_10)) FROM t1;
CONCAT('', MAX(f)) 9.999999680285692e37
CONCAT('', MAX(d)) 1e81
CONCAT('', MAX(d10_10)) 0.9999999999
CONCAT('', MAX(d1_0)) 9
CONCAT('', MAX(d53)) 100000000000000000000000000000000000000000000000000000
CONCAT('', MAX(d53_10)) 10000000000000000000000000000000000000000000.0000000000
CONCAT('', MAX(f0)) 9.999999680285692e37
CONCAT('', MAX(f20_3)) 99999998430674940.000
CONCAT('', MAX(f23_0)) 9.999999680285692e37
CONCAT('', MAX(r1_1)) 0.9
INSERT INTO t1 (f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10,pk) VALUES ( INSERT INTO t1 (f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10,pk) VALUES (
9999999999999999999999999999999999999999999999999999999999999.9999, 9999999999999999999999999999999999999999999999999999999999999.9999,
9999999999999999999999999999999999999999999999999999999999999.9999, 9999999999999999999999999999999999999999999999999999999999999.9999,
......
...@@ -1430,17 +1430,27 @@ r1_1 -0.9 ...@@ -1430,17 +1430,27 @@ r1_1 -0.9
r1_1 0.0 r1_1 0.0
r1_1 0.9 r1_1 0.9
r1_1 0.9 r1_1 0.9
SELECT MAX(f), MAX(f0), MAX(r1_1), MAX(f23_0), MAX(f20_3), MAX(d), MAX(d1_0), MAX(d10_10), MAX(d53), MAX(d53_10) FROM t1; SELECT
MAX(f) 9.999999680285692e37 CONCAT('', MAX(f)),
MAX(d) 1e81 CONCAT('', MAX(f0)),
MAX(d10_10) 0.9999999999 CONCAT('', MAX(r1_1)),
MAX(d1_0) 9 CONCAT('', MAX(f23_0)),
MAX(d53) 100000000000000000000000000000000000000000000000000000 CONCAT('', MAX(f20_3)),
MAX(d53_10) 10000000000000000000000000000000000000000000.0000000000 CONCAT('', MAX(d)),
MAX(f0) 9.999999680285692e37 CONCAT('', MAX(d1_0)),
MAX(f20_3) 99999998430674940.000 CONCAT('', MAX(d10_10)),
MAX(f23_0) 9.999999680285692e37 CONCAT('', MAX(d53)),
MAX(r1_1) 0.9 CONCAT('', MAX(d53_10)) FROM t1;
CONCAT('', MAX(f)) 9.999999680285692e37
CONCAT('', MAX(d)) 1e81
CONCAT('', MAX(d10_10)) 0.9999999999
CONCAT('', MAX(d1_0)) 9
CONCAT('', MAX(d53)) 100000000000000000000000000000000000000000000000000000
CONCAT('', MAX(d53_10)) 10000000000000000000000000000000000000000000.0000000000
CONCAT('', MAX(f0)) 9.999999680285692e37
CONCAT('', MAX(f20_3)) 99999998430674940.000
CONCAT('', MAX(f23_0)) 9.999999680285692e37
CONCAT('', MAX(r1_1)) 0.9
INSERT INTO t1 (f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10,pk) VALUES ( INSERT INTO t1 (f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10,pk) VALUES (
9999999999999999999999999999999999999999999999999999999999999.9999, 9999999999999999999999999999999999999999999999999999999999999.9999,
9999999999999999999999999999999999999999999999999999999999999.9999, 9999999999999999999999999999999999999999999999999999999999999.9999,
......
...@@ -317,17 +317,27 @@ r1_1 0.0 ...@@ -317,17 +317,27 @@ r1_1 0.0
r1_1 0.0 r1_1 0.0
r1_1 0.9 r1_1 0.9
r1_1 0.9 r1_1 0.9
SELECT MAX(f), MAX(f0), MAX(r1_1), MAX(f23_0), MAX(f20_3), MAX(d), MAX(d1_0), MAX(d10_10), MAX(d53), MAX(d53_10) FROM t1; SELECT
MAX(f) 9.999999680285692e37 CONCAT('', MAX(f)),
MAX(d) 1e81 CONCAT('', MAX(f0)),
MAX(d10_10) 0.9999999999 CONCAT('', MAX(r1_1)),
MAX(d1_0) 9 CONCAT('', MAX(f23_0)),
MAX(d53) 100000000000000000000000000000000000000000000000000000 CONCAT('', MAX(f20_3)),
MAX(d53_10) 10000000000000000000000000000000000000000000.0000000000 CONCAT('', MAX(d)),
MAX(f0) 9.999999680285692e37 CONCAT('', MAX(d1_0)),
MAX(f20_3) 99999998430674940.000 CONCAT('', MAX(d10_10)),
MAX(f23_0) 9.999999680285692e37 CONCAT('', MAX(d53)),
MAX(r1_1) 0.9 CONCAT('', MAX(d53_10)) FROM t1;
CONCAT('', MAX(f)) 9.999999680285692e37
CONCAT('', MAX(d)) 1e81
CONCAT('', MAX(d10_10)) 0.9999999999
CONCAT('', MAX(d1_0)) 9
CONCAT('', MAX(d53)) 100000000000000000000000000000000000000000000000000000
CONCAT('', MAX(d53_10)) 10000000000000000000000000000000000000000000.0000000000
CONCAT('', MAX(f0)) 9.999999680285692e37
CONCAT('', MAX(f20_3)) 99999998430674940.000
CONCAT('', MAX(f23_0)) 9.999999680285692e37
CONCAT('', MAX(r1_1)) 0.9
INSERT INTO t1 (f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10,pk) VALUES ( INSERT INTO t1 (f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10,pk) VALUES (
9999999999999999999999999999999999999999999999999999999999999.9999, 9999999999999999999999999999999999999999999999999999999999999.9999,
9999999999999999999999999999999999999999999999999999999999999.9999, 9999999999999999999999999999999999999999999999999999999999999.9999,
......
...@@ -313,17 +313,27 @@ r1_1 0.0 ...@@ -313,17 +313,27 @@ r1_1 0.0
r1_1 0.0 r1_1 0.0
r1_1 0.9 r1_1 0.9
r1_1 0.9 r1_1 0.9
SELECT MAX(f), MAX(f0), MAX(r1_1), MAX(f23_0), MAX(f20_3), MAX(d), MAX(d1_0), MAX(d10_10), MAX(d53), MAX(d53_10) FROM t1; SELECT
MAX(f) 9.999999680285692e37 CONCAT('', MAX(f)),
MAX(d) 1e81 CONCAT('', MAX(f0)),
MAX(d10_10) 0.9999999999 CONCAT('', MAX(r1_1)),
MAX(d1_0) 9 CONCAT('', MAX(f23_0)),
MAX(d53) 100000000000000000000000000000000000000000000000000000 CONCAT('', MAX(f20_3)),
MAX(d53_10) 10000000000000000000000000000000000000000000.0000000000 CONCAT('', MAX(d)),
MAX(f0) 9.999999680285692e37 CONCAT('', MAX(d1_0)),
MAX(f20_3) 99999998430674940.000 CONCAT('', MAX(d10_10)),
MAX(f23_0) 9.999999680285692e37 CONCAT('', MAX(d53)),
MAX(r1_1) 0.9 CONCAT('', MAX(d53_10)) FROM t1;
CONCAT('', MAX(f)) 9.999999680285692e37
CONCAT('', MAX(d)) 1e81
CONCAT('', MAX(d10_10)) 0.9999999999
CONCAT('', MAX(d1_0)) 9
CONCAT('', MAX(d53)) 100000000000000000000000000000000000000000000000000000
CONCAT('', MAX(d53_10)) 10000000000000000000000000000000000000000000.0000000000
CONCAT('', MAX(f0)) 9.999999680285692e37
CONCAT('', MAX(f20_3)) 99999998430674940.000
CONCAT('', MAX(f23_0)) 9.999999680285692e37
CONCAT('', MAX(r1_1)) 0.9
INSERT INTO t1 (f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10,pk) VALUES ( INSERT INTO t1 (f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10,pk) VALUES (
9999999999999999999999999999999999999999999999999999999999999.9999, 9999999999999999999999999999999999999999999999999999999999999.9999,
9999999999999999999999999999999999999999999999999999999999999.9999, 9999999999999999999999999999999999999999999999999999999999999.9999,
......
...@@ -127,17 +127,27 @@ r1_1 -0.9 ...@@ -127,17 +127,27 @@ r1_1 -0.9
r1_1 0.0 r1_1 0.0
r1_1 0.9 r1_1 0.9
r1_1 0.9 r1_1 0.9
SELECT MAX(f), MAX(f0), MAX(r1_1), MAX(f23_0), MAX(f20_3), MAX(d), MAX(d1_0), MAX(d10_10), MAX(d53), MAX(d53_10) FROM t1; SELECT
MAX(f) 9.999999680285692e37 CONCAT('', MAX(f)),
MAX(d) 1e81 CONCAT('', MAX(f0)),
MAX(d10_10) 0.9999999999 CONCAT('', MAX(r1_1)),
MAX(d1_0) 9 CONCAT('', MAX(f23_0)),
MAX(d53) 100000000000000000000000000000000000000000000000000000 CONCAT('', MAX(f20_3)),
MAX(d53_10) 10000000000000000000000000000000000000000000.0000000000 CONCAT('', MAX(d)),
MAX(f0) 9.999999680285692e37 CONCAT('', MAX(d1_0)),
MAX(f20_3) 99999998430674940.000 CONCAT('', MAX(d10_10)),
MAX(f23_0) 9.999999680285692e37 CONCAT('', MAX(d53)),
MAX(r1_1) 0.9 CONCAT('', MAX(d53_10)) FROM t1;
CONCAT('', MAX(f)) 9.999999680285692e37
CONCAT('', MAX(d)) 1e81
CONCAT('', MAX(d10_10)) 0.9999999999
CONCAT('', MAX(d1_0)) 9
CONCAT('', MAX(d53)) 100000000000000000000000000000000000000000000000000000
CONCAT('', MAX(d53_10)) 10000000000000000000000000000000000000000000.0000000000
CONCAT('', MAX(f0)) 9.999999680285692e37
CONCAT('', MAX(f20_3)) 99999998430674940.000
CONCAT('', MAX(f23_0)) 9.999999680285692e37
CONCAT('', MAX(r1_1)) 0.9
INSERT INTO t1 (f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10,pk) VALUES ( INSERT INTO t1 (f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10,pk) VALUES (
9999999999999999999999999999999999999999999999999999999999999.9999, 9999999999999999999999999999999999999999999999999999999999999.9999,
9999999999999999999999999999999999999999999999999999999999999.9999, 9999999999999999999999999999999999999999999999999999999999999.9999,
......
...@@ -72,12 +72,6 @@ bloomfilter : MDEV-12474 Regularly fails on buildbot ...@@ -72,12 +72,6 @@ bloomfilter : MDEV-12474 Regularly fails on buildbot
compact_deletes: MDEV-12663 : rocksdb.compact_deletes times out and causes other tests to fail compact_deletes: MDEV-12663 : rocksdb.compact_deletes times out and causes other tests to fail
col_opt_not_null : MDEV-12474 - Fails in fulltest
col_opt_null : : MDEV-12474 - Fails in fulltest
col_opt_unsigned : MDEV-12474 - Fails in fulltest
col_opt_zerofill : MDEV-12474 - Fails in fulltest
type_float : MDEV-12474 - Fails in fulltest
native_procedure : Not supported in MariaDB native_procedure : Not supported in MariaDB
ddl_high_priority: Needs fractional @@lock_wait_timeout ddl_high_priority: Needs fractional @@lock_wait_timeout
......
...@@ -57,7 +57,18 @@ INSERT INTO t1 (f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10,pk) VALUES (-9999 ...@@ -57,7 +57,18 @@ INSERT INTO t1 (f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10,pk) VALUES (-9999
--query_vertical SELECT f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10 FROM t1 --query_vertical SELECT f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10 FROM t1
--sorted_result --sorted_result
--query_vertical SELECT MAX(f), MAX(f0), MAX(r1_1), MAX(f23_0), MAX(f20_3), MAX(d), MAX(d1_0), MAX(d10_10), MAX(d53), MAX(d53_10) FROM t1 query_vertical
SELECT
CONCAT('', MAX(f)),
CONCAT('', MAX(f0)),
CONCAT('', MAX(r1_1)),
CONCAT('', MAX(f23_0)),
CONCAT('', MAX(f20_3)),
CONCAT('', MAX(d)),
CONCAT('', MAX(d1_0)),
CONCAT('', MAX(d10_10)),
CONCAT('', MAX(d53)),
CONCAT('', MAX(d53_10)) FROM t1;
# Invalid values # Invalid values
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment