1
0
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:
serg@serg.mylan
2003-11-16 17:37:15 +01:00
parent 9837748e5f
commit 60d60a299e
5 changed files with 36 additions and 1 deletions

View File

@@ -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;