Re: [Maria-developers] [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
Hi!
"Sergei" == Sergei Golubchik
writes:
Sergei> Hi, Michael! Sergei> There are more MariaDB-only error messages, I think you need to move all Sergei> of them. I did move all of them. You read the diff wrong... Sergei> 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"
The above is the first MariaDB specific error message. All other ones are after this one. (I did a diff of MariaDB and MySQL 5.1 to verfiy this) Regards, Monty
participants (2)
-
Michael Widenius
-
Sergei Golubchik