summaryrefslogtreecommitdiff
path: root/mysql-test/t/bigint.test
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-11-16 17:37:15 +0100
committerunknown <serg@serg.mylan>2003-11-16 17:37:15 +0100
commit069ec78c803516363e91c550624032d1b622dec9 (patch)
treee02479a2eb71487fb7bacd2034a094a3da3ee61b /mysql-test/t/bigint.test
parenta35ba0ea0ce87b54c65d451a50d7821ac0f92d4a (diff)
downloadmariadb-git-069ec78c803516363e91c550624032d1b622dec9.tar.gz
Item_uint::save_in_field() added to take into account bigint->decimal case
BitKeeper/etc/ignore: Added sql/udf_example.so to the ignore list
Diffstat (limited to 'mysql-test/t/bigint.test')
-rw-r--r--mysql-test/t/bigint.test12
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;
+