1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix for bug #12694 (float(1,2) field error)

mysql-test/t/type_float.test:
  test case
sql/sql_parse.cc:
  length & dec checks added
This commit is contained in:
unknown
2005-08-25 19:21:47 +05:00
parent 1c35bcb6ae
commit ca084e0f72
2 changed files with 23 additions and 2 deletions

View File

@ -147,3 +147,12 @@ select * from t1 where reckey=1.09E2;
drop table t1;
# End of 4.1 tests
#
# bug #12694 (float(m,d) specifications)
#
--error 1427
create table t1 (s1 float(0,2));
--error 1427
create table t1 (s1 float(1,2));