mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Fix multiplication of abs() by a negative value. (Bug #11402)
This commit is contained in:
@ -71,3 +71,8 @@ create table t1 select round(1, 6);
|
||||
show create table t1;
|
||||
select * from t1;
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# Bug #11402: abs() forces rest of calculation to unsigned
|
||||
#
|
||||
select abs(-2) * -2;
|
||||
|
Reference in New Issue
Block a user