diff options
author | serg@serg.mylan <> | 2003-11-16 17:37:15 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2003-11-16 17:37:15 +0100 |
commit | 60d60a299e9b8a4b99d83b99b1cde4634f95e20c (patch) | |
tree | e02479a2eb71487fb7bacd2034a094a3da3ee61b /mysql-test/t/bigint.test | |
parent | 9837748e5fa7baaeaa3f5d084571df5c05a7057e (diff) | |
download | mariadb-git-60d60a299e9b8a4b99d83b99b1cde4634f95e20c.tar.gz |
Item_uint::save_in_field() added to take into account bigint->decimal case
Diffstat (limited to 'mysql-test/t/bigint.test')
-rw-r--r-- | mysql-test/t/bigint.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/bigint.test b/mysql-test/t/bigint.test index c5691a760c7..a7cc068ec46 100644 --- a/mysql-test/t/bigint.test +++ b/mysql-test/t/bigint.test @@ -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; + |