summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2005-09-04 17:45:02 +0500
committerunknown <hf@deer.(none)>2005-09-04 17:45:02 +0500
commit6964f06bfaf8a076f21d5b19b0459cb7daa6396b (patch)
tree8ea74aaa8502f3fb738e75a78e090d208056c89a /sql/sql_parse.cc
parente48b3173fdad87ae57a8872607fb960f2fb96865 (diff)
downloadmariadb-git-6964f06bfaf8a076f21d5b19b0459cb7daa6396b.tar.gz
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
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 65169f2af10..27ab3fc0579 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -5760,7 +5760,7 @@ new_create_field(THD *thd, char *field_name, enum_field_types type,
if (new_field->length < new_field->decimals &&
new_field->decimals != NOT_FIXED_DEC)
{
- my_error(ER_SCALE_BIGGER_THAN_PRECISION, MYF(0), field_name);
+ my_error(ER_M_BIGGER_THAN_D, MYF(0), field_name);
DBUG_RETURN(NULL);
}
break;
@@ -5774,7 +5774,7 @@ new_create_field(THD *thd, char *field_name, enum_field_types type,
if (new_field->length < new_field->decimals &&
new_field->decimals != NOT_FIXED_DEC)
{
- my_error(ER_SCALE_BIGGER_THAN_PRECISION, MYF(0), field_name);
+ my_error(ER_M_BIGGER_THAN_D, MYF(0), field_name);
DBUG_RETURN(NULL);
}
break;