comp_err - Compile MariaDB Error Message File


comp_err creates the errmsg.sys file that is used by mysqld to determine the error messages to display for different error codes. comp_err normally is run automatically when MariaDB is built. It compiles the errmsg.sys file from the plaintext file located at sql/share/errmsg.txt in MariaDB source distributions.

comp_err also generates mysqld_error.h, mysqld_ername.h, and sql_state.h header files.

For more information about how error messages are defined, see the MariaDB Internals Manual, available at http://forge.mysql.com/wiki/MySQL_Internals.

Invoke comp_err like this:

shell> comp_err [options]

comp_err supports the following options.

Retornar