error_dictionary creates the ERRORS dictionary which lists the error codes and messages generated by Drizzle.
This plugin is loaded by default. To stop the plugin from loading by default, start drizzled with:
--plugin-remove=error_dictionary
See also
Plugin Options for more information about adding and removing plugins.
List Drizzle’s error codes and messages:
drizzle> SELECT * FROM DATA_DICTIONARY.ERRORS\G
*************************** 1. row ***************************
ERROR_CODE: 1167
ERROR_NAME: ER_WRONG_KEY_COLUMN
ERROR_MESSAGE: The used storage engine can't index column '%-.192s'
ERROR_SQL_STATE: 42000
*************************** 2. row ***************************
ERROR_CODE: 0
ERROR_NAME: EE_OK
ERROR_MESSAGE: SUCCESS
ERROR_SQL_STATE: HY000
-- Hundreds more...
Monty Taylor
This documentation applies to error_dictionary 1.0.
To see which version of the plugin a Drizzle server is running, execute:
SELECT MODULE_VERSION FROM DATA_DICTIONARY.MODULES WHERE MODULE_NAME='error_dictionary'