mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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:
@ -521,8 +521,8 @@ select count(*) from t1 where x = 18446744073709551601;
|
||||
count(*)
|
||||
1
|
||||
create table t2 (x bigint not null);
|
||||
insert into t2(x) values (0xfffffffffffffff0);
|
||||
insert into t2(x) values (0xfffffffffffffff1);
|
||||
insert into t2(x) values (cast(0xfffffffffffffff0+0 as signed));
|
||||
insert into t2(x) values (cast(0xfffffffffffffff1+0 as signed));
|
||||
select * from t2;
|
||||
x
|
||||
-16
|
||||
|
Reference in New Issue
Block a user