diff options
author | jani@a193-229-222-105.elisa-laajakaista.fi <> | 2005-09-09 20:02:13 +0300 |
---|---|---|
committer | jani@a193-229-222-105.elisa-laajakaista.fi <> | 2005-09-09 20:02:13 +0300 |
commit | ac95c9096b3d51dd86f9b7312c6f3df1cc6875c6 (patch) | |
tree | b28646c4168054d8d84d9156e6d80928ab9f1d40 /mysql-test/t/analyse.test | |
parent | 12ffe0da12671b1f3767dd970d0ede4a8e0614fc (diff) | |
download | mariadb-git-ac95c9096b3d51dd86f9b7312c6f3df1cc6875c6.tar.gz |
Fixed Bug#10716, Procedure Analyse results in wrong values for optimal field type
Added test case.
Diffstat (limited to 'mysql-test/t/analyse.test')
-rw-r--r-- | mysql-test/t/analyse.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/analyse.test b/mysql-test/t/analyse.test index e7fbf09c19a..e38e43381bc 100644 --- a/mysql-test/t/analyse.test +++ b/mysql-test/t/analyse.test @@ -48,4 +48,13 @@ insert into t1 values ('abc'),('abc\'def\\hij\"klm\0opq'),('\''),('\"'),('\\'),( select * from t1 procedure analyse(); drop table t1; +# +# Bug#10716 - Procedure Analyse results in wrong values for optimal field type +# + +create table t1 (d double); +insert into t1 values (100000); +select * from t1 procedure analyse (1,1); +drop table t1; + # End of 4.1 tests |