2425.2.2
by Daniel Nichter
A lot of doc changes: rewrite and expand Configuration and Administration, re-order top-level sections, enhance Contributing, add Release Notes, add Help and Support, fix title casing, label all plugins, other misc. enhancements. |
1 |
.. _error_dictionary_plugin: |
2 |
||
2397.1.1
by Daniel Nichter
Skeleton documentation for all plugins, more complete docu for first half of plugins. |
3 |
Error Dictionary
|
4 |
================
|
|
5 |
||
6 |
:program:`error_dictionary` creates the ``ERRORS`` dictionary which lists |
|
7 |
the error codes and messages generated by Drizzle. |
|
8 |
||
9 |
.. _error_dictionary_loading: |
|
10 |
||
11 |
Loading
|
|
12 |
-------
|
|
13 |
||
14 |
This plugin is loaded by default. To stop the plugin from loading by default, |
|
15 |
start :program:`drizzled` with:: |
|
16 |
||
17 |
--plugin-remove=error_dictionary
|
|
18 |
||
2425.2.1
by Daniel Nichter
Rewrite Configuration docs. |
19 |
.. seealso:: :ref:`drizzled_plugin_options` for more information about adding and removing plugins. |
2397.1.1
by Daniel Nichter
Skeleton documentation for all plugins, more complete docu for first half of plugins. |
20 |
|
21 |
.. _error_dictionary_configuration: |
|
22 |
||
23 |
Examples
|
|
24 |
--------
|
|
25 |
||
26 |
List Drizzle's error codes and messages: |
|
27 |
||
28 |
.. code-block:: mysql |
|
29 |
||
30 |
drizzle> SELECT * FROM DATA_DICTIONARY.ERRORS\G |
|
31 |
*************************** 1. row *************************** |
|
32 |
ERROR_CODE: 1167 |
|
33 |
ERROR_NAME: ER_WRONG_KEY_COLUMN |
|
34 |
ERROR_MESSAGE: The used storage engine can't index column '%-.192s' |
|
35 |
ERROR_SQL_STATE: 42000
|
|
36 |
*************************** 2. row ***************************
|
|
37 |
ERROR_CODE: 0
|
|
38 |
ERROR_NAME: EE_OK
|
|
39 |
ERROR_MESSAGE: SUCCESS
|
|
40 |
ERROR_SQL_STATE: HY000
|
|
41 |
||
42 |
-- Hundreds more...
|
|
43 |
||
44 |
.. _error_dictionary_authors: |
|
45 |
||
46 |
Authors
|
|
47 |
-------
|
|
48 |
||
49 |
Monty Taylor |
|
50 |
||
51 |
.. _error_dictionary_version: |
|
52 |
||
53 |
Version
|
|
54 |
-------
|
|
55 |
||
56 |
This documentation applies to **error_dictionary 1.0**.
|
|
57 |
||
58 |
To see which version of the plugin a Drizzle server is running, execute: |
|
59 |
||
60 |
.. code-block:: mysql |
|
61 |
||
62 |
SELECT MODULE_VERSION FROM DATA_DICTIONARY.MODULES WHERE MODULE_NAME='error_dictionary' |
|
63 |
||
64 |
Changelog
|
|
65 |
---------
|
|
66 |
||
67 |
v1.0
|
|
68 |
^^^^
|
|
69 |
* First release.
|