|
1 |
| -#ifndef MESSAGE_INCLUDED |
2 |
| -#define MESSAGE_INCLUDED |
| 1 | +#ifndef MESSAGE_INCLUDED |
| 2 | +#define MESSAGE_INCLUDED |
3 | 3 | /* Copyright (c) 2008, 2022, Oracle and/or its affiliates.
|
4 |
| - Use is subject to license terms. |
5 |
| -
|
6 |
| - This program is free software; you can redistribute it and/or modify |
7 |
| - it under the terms of the GNU General Public License, version 2.0, |
8 |
| - as published by the Free Software Foundation. |
9 |
| -
|
10 |
| - This program is also distributed with certain software (including |
11 |
| - but not limited to OpenSSL) that is licensed under separate terms, |
12 |
| - as designated in a particular file or component or in included license |
13 |
| - documentation. The authors of MySQL hereby grant you an additional |
14 |
| - permission to link the program and your derivative works with the |
15 |
| - separately licensed software that they have included with MySQL. |
16 |
| -
|
17 |
| - This program is distributed in the hope that it will be useful, |
18 |
| - but WITHOUT ANY WARRANTY; without even the implied warranty of |
19 |
| - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
20 |
| - GNU General Public License, version 2.0, for more details. |
21 |
| -
|
22 |
| - You should have received a copy of the GNU General Public License |
23 |
| - along with this program; if not, write to the Free Software |
24 |
| - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ |
25 |
| - |
26 |
| -/* |
27 |
| - To change or add messages mysqld writes to the Windows error log, run |
28 |
| - mc.exe message.mc |
29 |
| - and checkin generated messages.h, messages.rc and msg000001.bin under the |
30 |
| - source control. |
31 |
| - mc.exe can be installed with Windows SDK, some Visual Studio distributions |
32 |
| - do not include it. |
33 |
| -*/ |
34 |
| - |
35 |
| -// |
| 4 | + Use is subject to license terms. |
| 5 | +
|
| 6 | + This program is free software; you can redistribute it and/or modify |
| 7 | + it under the terms of the GNU General Public License, version 2.0, |
| 8 | + as published by the Free Software Foundation. |
| 9 | +
|
| 10 | + This program is also distributed with certain software (including |
| 11 | + but not limited to OpenSSL) that is licensed under separate terms, |
| 12 | + as designated in a particular file or component or in included license |
| 13 | + documentation. The authors of MySQL hereby grant you an additional |
| 14 | + permission to link the program and your derivative works with the |
| 15 | + separately licensed software that they have included with MySQL. |
| 16 | +
|
| 17 | + This program is distributed in the hope that it will be useful, |
| 18 | + but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | + GNU General Public License, version 2.0, for more details. |
| 21 | +
|
| 22 | + You should have received a copy of the GNU General Public License |
| 23 | + along with this program; if not, write to the Free Software |
| 24 | + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ |
| 25 | + |
| 26 | +/* |
| 27 | + To change or add messages mysqld writes to the Windows error log, run |
| 28 | + mc.exe message.mc |
| 29 | + and checkin generated messages.h, messages.rc and msg000001.bin under the |
| 30 | + source control. |
| 31 | + mc.exe can be installed with Windows SDK, some Visual Studio distributions |
| 32 | + do not include it. |
| 33 | +*/ |
| 34 | + |
| 35 | +// |
36 | 36 | // Values are 32 bit values laid out as follows:
|
37 |
| -// |
38 |
| -// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 |
39 |
| -// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 |
40 |
| -// +---+-+-+-----------------------+-------------------------------+ |
41 |
| -// |Sev|C|R| Facility | Code | |
42 |
| -// +---+-+-+-----------------------+-------------------------------+ |
43 |
| -// |
44 |
| -// where |
45 |
| -// |
46 |
| -// Sev - is the severity code |
47 |
| -// |
48 |
| -// 00 - Success |
49 |
| -// 01 - Informational |
50 |
| -// 10 - Warning |
51 |
| -// 11 - Error |
52 |
| -// |
53 |
| -// C - is the Customer code flag |
54 |
| -// |
55 |
| -// R - is a reserved bit |
56 |
| -// |
57 |
| -// Facility - is the facility code |
58 |
| -// |
59 |
| -// Code - is the facility's status code |
60 |
| -// |
61 |
| -// |
62 |
| -// Define the facility codes |
63 |
| -// |
64 |
| - |
65 |
| -// |
66 |
| -// Define the severity codes |
67 |
| -// |
68 |
| - |
69 |
| -// |
70 |
| -// MessageId: MSG_DEFAULT |
71 |
| -// |
72 |
| -// MessageText: |
73 |
| -// |
74 |
| -// %1For more information, see Help and Support Center at http://www.mysql.com. |
75 |
| -// |
76 |
| -// |
77 |
| -// |
78 |
| -#define MSG_DEFAULT 0xC0000064L |
79 |
| - |
80 |
| -#endif /* MESSAGE_INCLUDED */ |
| 37 | +// |
| 38 | +// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 |
| 39 | +// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 |
| 40 | +// +---+-+-+-----------------------+-------------------------------+ |
| 41 | +// |Sev|C|R| Facility | Code | |
| 42 | +// +---+-+-+-----------------------+-------------------------------+ |
| 43 | +// |
| 44 | +// where |
| 45 | +// |
| 46 | +// Sev - is the severity code |
| 47 | +// |
| 48 | +// 00 - Success |
| 49 | +// 01 - Informational |
| 50 | +// 10 - Warning |
| 51 | +// 11 - Error |
| 52 | +// |
| 53 | +// C - is the Customer code flag |
| 54 | +// |
| 55 | +// R - is a reserved bit |
| 56 | +// |
| 57 | +// Facility - is the facility code |
| 58 | +// |
| 59 | +// Code - is the facility's status code |
| 60 | +// |
| 61 | +// |
| 62 | +// Define the facility codes |
| 63 | +// |
| 64 | + |
| 65 | +// |
| 66 | +// Define the severity codes |
| 67 | +// |
| 68 | + |
| 69 | +// |
| 70 | +// MessageId: MSG_DEFAULT |
| 71 | +// |
| 72 | +// MessageText: |
| 73 | +// |
| 74 | +// %1For more information, see Help and Support Center at http://www.mysql.com. |
| 75 | +// |
| 76 | +// |
| 77 | +// |
| 78 | +#define MSG_DEFAULT 0xC0000064L |
| 79 | + |
| 80 | +#endif /* MESSAGE_INCLUDED */ |
0 commit comments