Commit 650d8cf
Tatiana Azundris Nuernberg
WL#13423: Split errmgs-utf8.txt into one file for messages to clients and another for messages to the error log
The file errmsg-utf8.txt contains error messages:
a) messages from the server to clients (error code < 10,000)
b) messages for the error log
Within both of those two major groups, there exist
various sub-ranges (e.g. one per major server version,
so that when a message has to be backported, it can be
added at the end of that version's range where we have
some unused indices without which inserting that message
would renumber all that follow it).
Additionally, ranges can be reserved for special use.
Finally, each error-code can have multiple translations
of the same message.
This complexity makes it non-obvious where to add new
messages, how to backport a messages, and so on. A FAQ
has recently been added to the message file to cover the
most common and the most difficult cases, and to highlight
the fact that there is something to know in the first place
where this may not be obvious to the casual users (that is
to say, engineers not primarily concerned with the workings
of the error subsystems).
This changset splits the message file in two for the major
groups a) and b) as per above and uses obvious nomenclature
to further aid in this goal and to let us simplify the
included instructions (simplified and clarified instructions
also included in this patchset).
Finally, various failsafes are added to the utility that
processes these files to catch nonsensical directives,
messages in languages not previously declared (to identify
potential typos, or cases of different engineers using
different abbreviations for the same language), superfluous
directives (to identify potential misunderstandings), and
so on.
Approved by: Jens Even Blomsoy <jens.even.blomsoy@oracle.com>1 parent a22ba85 commit 650d8cf
File tree
31 files changed
+11479
-10851
lines changed- mysql-test
- r
- std_data/comp_err
- t
- packaging
- deb-in
- rpm-docker
- rpm-fedora
- rpm-oel
- rpm-sles
- sql
- storage/innobase
- handler
- include
- utilities
31 files changed
+11479
-10851
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments