mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-369 (Mismatches in MySQL engines test suite)
Following reasons caused mismatches: - different handling of invalid values; - different CAST results with fractional seconds; - microseconds support in MariaDB; - different algorithm of comparing temporal values; - differences in error and warning texts and codes; - different approach to truncating datetime values to time; - additional collations; - different record order for queries without ORDER BY; - MySQL bug#66034. More details in MDEV-369 comments.
This commit is contained in:
@@ -56,6 +56,8 @@ Warning 1264 Out of range value for column 'c2' at row 3
|
||||
SELECT COUNT(*) FROM t1 WHERE c1=4294967296 AND c2=2147483648 /* no rows */;
|
||||
COUNT(*)
|
||||
0
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c2' at row 1
|
||||
SELECT * FROM t1 WHERE c1=4294967295 AND c2=2147483647;
|
||||
c1 c2 c3
|
||||
4294967295 2147483647 10
|
||||
@@ -1150,6 +1152,8 @@ Warning 1264 Out of range value for column 'c2' at row 3
|
||||
SELECT COUNT(*) FROM t1 WHERE c1=256 AND c2=128 /* no rows */;
|
||||
COUNT(*)
|
||||
0
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c2' at row 1
|
||||
SELECT * FROM t1 WHERE c1=255 AND c2=127;
|
||||
c1 c2 c3
|
||||
255 127 10
|
||||
@@ -1922,6 +1926,8 @@ Warning 1264 Out of range value for column 'c2' at row 3
|
||||
SELECT COUNT(*) FROM t1 WHERE c1=65536 AND c2=32768 /* no rows */;
|
||||
COUNT(*)
|
||||
0
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c2' at row 1
|
||||
SELECT * FROM t1 WHERE c1=65535 AND c2=32767;
|
||||
c1 c2 c3
|
||||
65535 32767 10
|
||||
@@ -2669,6 +2675,8 @@ Warning 1264 Out of range value for column 'c2' at row 3
|
||||
SELECT COUNT(*) FROM t1 WHERE c1=16777216 AND c2=8388608 /* no rows */;
|
||||
COUNT(*)
|
||||
0
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c2' at row 1
|
||||
SELECT * FROM t1 WHERE c1=16777215 AND c2=8388607;
|
||||
c1 c2 c3
|
||||
16777215 8388607 10
|
||||
@@ -3416,6 +3424,8 @@ Warning 1264 Out of range value for column 'c2' at row 3
|
||||
SELECT COUNT(*) FROM t1 WHERE c1=18446744073709551616 AND c2=9223372036854775808 /* no rows */;
|
||||
COUNT(*)
|
||||
0
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c2' at row 1
|
||||
SELECT * FROM t1 WHERE c1=18446744073709551615 AND c2=9223372036854775807;
|
||||
c1 c2 c3
|
||||
18446744073709551615 9223372036854775807 10
|
||||
|
Reference in New Issue
Block a user