Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.5, 10.6, 10.11, 11.1(EOL), 11.2(EOL), 11.4, 11.5(EOL), 11.6(EOL)
-
None
Description
CONCAT() cuts part of the string with result:
Case: (run MTR test with --cursor-protocol):
CREATE TABLE t1 ( |
f20_3 FLOAT(20,3) , |
d53 DOUBLE(53,0) , |
d53_10 DOUBLE(53,10) |
) ENGINE=rocksdb;
|
INSERT INTO t1 (f20_3,d53,d53_10) VALUES ( |
99999999999999999.999,
|
1999999999999999999999999999999999999999999999999999999,
|
19999999999999999999999999999999999999999999.9999999999
|
);
|
query_vertical
|
SELECT
|
CONCAT('', f20_3), |
CONCAT('', d53), |
CONCAT('', d53_10) FROM t1; |
Expected result:
CONCAT('', f20_3) 99999998430674940.000 |
CONCAT('', d53) 100000000000000000000000000000000000000000000000000000 |
CONCAT('', d53_10) 10000000000000000000000000000000000000000000.0000000000 |
Actual result:
CONCAT('', f20_3) 99999998430674940.00 |
CONCAT('', d53) 10000000000000000000000000000000000000000000000000000 |
CONCAT('', d53_10) 10000000000000000000000000000000000000000000.00000000 |
Attachments
Issue Links
- relates to
-
MDEV-31005 Make working ./mtr --cursor-protocol
- Stalled