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

Error message changed for buf #12694 as PeterG suggested

mysql-test/r/type_float.result:
  result fixed
mysql-test/t/type_float.test:
  errno fixed
sql/share/errmsg.txt:
  error message added
sql/sql_parse.cc:
  error message changed
This commit is contained in:
unknown
2005-09-04 17:45:02 +05:00
parent ca084e0f72
commit eaba3ed347
4 changed files with 10 additions and 4 deletions

View File

@ -225,3 +225,7 @@ select * from t1 where reckey=1.09E2;
reckey recdesc
109 Has 109 as key
drop table t1;
create table t1 (s1 float(0,2));
ERROR 42000: For float(M,D) or double(M,D), M must be >= D (column 's1').
create table t1 (s1 float(1,2));
ERROR 42000: For float(M,D) or double(M,D), M must be >= D (column 's1').

View File

@ -152,7 +152,7 @@ drop table t1;
# bug #12694 (float(m,d) specifications)
#
--error 1427
--error 1443
create table t1 (s1 float(0,2));
--error 1427
--error 1443
create table t1 (s1 float(1,2));