summaryrefslogtreecommitdiff
path: root/sql/unireg.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-07-22 13:48:21 +0200
committerSergei Golubchik <serg@mariadb.org>2016-08-27 16:59:12 +0200
commit6e5048e85f606280d7aacc32df786b0de30f63fe (patch)
tree4fd866cfbd24d98116e97a87023ac889ffb090e5 /sql/unireg.cc
parent266563ad775fca38dbb5c76a5100fef49515ffda (diff)
downloadmariadb-git-6e5048e85f606280d7aacc32df786b0de30f63fe.tar.gz
clarify the error message for frm size overflow
Diffstat (limited to 'sql/unireg.cc')
-rw-r--r--sql/unireg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/unireg.cc b/sql/unireg.cc
index 19d03d23cc7..ff46e03ab3e 100644
--- a/sql/unireg.cc
+++ b/sql/unireg.cc
@@ -735,7 +735,7 @@ static bool pack_header(THD *thd, uchar *forminfo,
n_length+int_length+com_length+expression_length > 65535L ||
int_count > 255)
{
- my_message(ER_TOO_MANY_FIELDS, ER_THD(thd, ER_TOO_MANY_FIELDS), MYF(0));
+ my_message(ER_TOO_MANY_FIELDS, "Table definition is too large", MYF(0));
DBUG_RETURN(1);
}