MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
message.h
1 /*
2  Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; version 2 of the License.
7 
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with this program; if not, write to the Free Software
15  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16 */
17 
18 /*
19  To change or add messages ndbd or ndb_mgmd writes to the Windows
20  error log, run
21  mc.exe message.mc
22  and checkin generated messages.h, messages.rc and msg000001.bin under the
23  source control.
24  mc.exe can be installed with Windows SDK, some Visual Studio distributions
25  do not include it.
26 */
27 //
28 // Values are 32 bit values laid out as follows:
29 //
30 // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
31 // 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
32 // +---+-+-+-----------------------+-------------------------------+
33 // |Sev|C|R| Facility | Code |
34 // +---+-+-+-----------------------+-------------------------------+
35 //
36 // where
37 //
38 // Sev - is the severity code
39 //
40 // 00 - Success
41 // 01 - Informational
42 // 10 - Warning
43 // 11 - Error
44 //
45 // C - is the Customer code flag
46 //
47 // R - is a reserved bit
48 //
49 // Facility - is the facility code
50 //
51 // Code - is the facility's status code
52 //
53 //
54 // Define the facility codes
55 //
56 
57 
58 //
59 // Define the severity codes
60 //
61 
62 
63 //
64 // MessageId: MSG_EVENTLOG
65 //
66 // MessageText:
67 //
68 // %1.
69 //
70 //
71 //
72 #define MSG_EVENTLOG 0xC0000064L
73