mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
Item_uint::save_in_field() added to take into account bigint->decimal case
This commit is contained in:
@@ -46,3 +46,15 @@ insert into t1 values (null,1);
|
||||
select * from t1;
|
||||
select * from t1 limit 9999999999;
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# Item_uint::save_to_field()
|
||||
# BUG#1845
|
||||
#
|
||||
|
||||
CREATE TABLE t1 ( quantity decimal(60,0));
|
||||
insert into t1 values (10000000000000000000);
|
||||
insert into t1 values ('10000000000000000000');
|
||||
select * from t1;
|
||||
drop table t1;
|
||||
|
||||
|
Reference in New Issue
Block a user