• Davi Arnaut's avatar
    Bug#41465: confusing error message when comment is too long · 71c12404
    Davi Arnaut authored
    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.
    71c12404
unireg.cc 31.8 KB