mariadb/sql/share
Davi Arnaut 53802ae6ca Bug#41465: confusing error message when comment is too long
The problem was that the server was trying to use the unknown
error format string (ER_UNKNOWN_ERROR) to print messages about
comments being too long, but the said format string does not
accept arguments and will always default to "Unknown error".

The solution is to introduce new error messages which are
specific to the error conditions so that server wants to
signal -- this also means that it's possible to translate
those messages.

mysql-test/r/strict.result:
  Update test case result.
mysql-test/t/strict.test:
  Update test case with new errors.
sql/share/errmsg.txt:
  Introduce new errors for long comments.
sql/unireg.cc:
  Use new errors.
2009-03-05 08:20:01 -03:00
..
charsets merged 5.0-bugteam to 5.1-bugteam 2008-05-28 17:18:24 +03:00
.cvsignore
errmsg.txt Bug#41465: confusing error message when comment is too long 2009-03-05 08:20:01 -03:00
Makefile.am Many files: 2006-12-23 20:17:15 +01:00