← Back to team overview

maria-developers team mailing list archive

Re: [Commits] Rev 3005: Changed MariaDB error numbers to start from 1900 to not conflict with MySQL error numbers in lp:maria/5.3

 

Hi, Michael!

There are more MariaDB-only error messages, I think you need to move all
of them.

On May 21, Michael Widenius wrote:
> === modified file 'sql/share/errmsg.txt'
> --- a/sql/share/errmsg.txt	2011-05-18 13:27:19 +0000
> +++ b/sql/share/errmsg.txt	2011-05-20 21:46:18 +0000
> @@ -6214,6 +6214,19 @@ ER_DEBUG_SYNC_HIT_LIMIT
>    eng "debug sync point hit limit reached"
>    ger "Debug Sync Point Hit Limit erreicht"
>  
> +#
> +# MariaDB error messages section starts here
> +#
> +
> +# The following is here to allow us to detect if there was missing
> +# error messages in the errmsg.sys file
> +
> +ER_LAST_MYSQL_ERROR_MESSAGE
> +   eng ""
> +
> +# MariaDB error numbers starts from 1900
> +start-error-number 1900
> +
>  ER_VCOL_BASED_ON_VCOL
>          eng "A computed column cannot be based on a computed column"
  
Regards,
Sergei


Follow ups