mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Added option --valgrind-mysqltest to mysql-test-run
Added flag to Field::store(longlong) to specify if value is unsigned. This fixes bug #12750: Incorrect storage of 9999999999999999999 in DECIMAL(19, 0) Fixed warning from valgrind in CREATE ... SELECT Fixed double free of mysql.options if reconnect failed
This commit is contained in:
@@ -667,7 +667,9 @@ INSERT INTO t1 VALUES(-9223372036854774000.0,0.0),(9223372036854775700.0,1844674
|
||||
INSERT INTO t1 (col1) VALUES(-9223372036854775809);
|
||||
ERROR 22003: Out of range value adjusted for column 'col1' at row 1
|
||||
INSERT INTO t1 (col1) VALUES(9223372036854775808);
|
||||
ERROR 22003: Out of range value adjusted for column 'col1' at row 1
|
||||
INSERT INTO t1 (col2) VALUES(-1);
|
||||
ERROR 22003: Out of range value adjusted for column 'col2' at row 1
|
||||
INSERT INTO t1 (col2) VALUES(18446744073709551616);
|
||||
ERROR 22003: Out of range value adjusted for column 'col2' at row 1
|
||||
INSERT INTO t1 (col1) VALUES('-9223372036854775809');
|
||||
@@ -706,6 +708,8 @@ Error 1365 Division by 0
|
||||
INSERT IGNORE INTO t1 VALUES(-9223372036854775809,-1),(9223372036854775808,18446744073709551616);
|
||||
Warnings:
|
||||
Warning 1264 Out of range value adjusted for column 'col1' at row 1
|
||||
Warning 1264 Out of range value adjusted for column 'col2' at row 1
|
||||
Warning 1264 Out of range value adjusted for column 'col1' at row 2
|
||||
Warning 1264 Out of range value adjusted for column 'col2' at row 2
|
||||
INSERT IGNORE INTO t1 VALUES('-9223372036854775809','-1'),('9223372036854775808','18446744073709551616');
|
||||
Warnings:
|
||||
@@ -729,12 +733,10 @@ col1 col2
|
||||
9223372036854775807 18446744073709551615
|
||||
-9223372036854774000 0
|
||||
9223372036854775700 1844674407370954000
|
||||
-9223372036854775808 NULL
|
||||
NULL 18446744073709551615
|
||||
2 NULL
|
||||
NULL NULL
|
||||
-9223372036854775808 18446744073709551615
|
||||
-9223372036854775808 18446744073709551615
|
||||
-9223372036854775808 0
|
||||
9223372036854775807 18446744073709551615
|
||||
-9223372036854775808 0
|
||||
9223372036854775807 18446744073709551615
|
||||
-9223372036854775808 0
|
||||
|
||||
Reference in New Issue
Block a user