1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Merge jwinstead2@wwwtst1.mysql.com:mysql-4.1-7774

into mysql.com:/home/jimw/my/mysql-4.1-clean


sql/field.cc:
  Auto merged
This commit is contained in:
unknown
2005-01-13 09:07:21 -08:00
4 changed files with 50 additions and 3 deletions

View File

@ -103,3 +103,13 @@ create table t1 (f double(4,3));
insert into t1 values (-11.0),(-11),("-11"),(11.0),(11),("11");
select * from t1;
drop table if exists t1;
# Check conversion of floats to character field (Bug #7774)
create table t1 (c char(20));
insert into t1 values (5e-28);
select * from t1;
drop table t1;
create table t1 (c char(6));
insert into t1 values (2e5),(2e6),(2e-4),(2e-5);
select * from t1;
drop table t1;