MySQL 8.0.32
Source Code Documentation
message.h
Go to the documentation of this file.
1/*
2Copyright (c) 2018, 2022, Oracle and/or its affiliates.
3
4This program is free software; you can redistribute it and/or modify
5it under the terms of the GNU General Public License, version 2.0,
6as published by the Free Software Foundation.
7
8This program is also distributed with certain software (including
9but not limited to OpenSSL) that is licensed under separate terms,
10as designated in a particular file or component or in included license
11documentation. The authors of MySQL hereby grant you an additional
12permission to link the program and your derivative works with the
13separately licensed software that they have included with MySQL.
14
15This program is distributed in the hope that it will be useful,
16but WITHOUT ANY WARRANTY; without even the implied warranty of
17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18GNU General Public License, version 2.0, for more details.
19
20You should have received a copy of the GNU General Public License
21along with this program; if not, write to the Free Software
22Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23*/
24
25/*
26 To change or add messages ndbd or ndb_mgmd writes to the Windows
27 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// Values are 32 bit values laid out as follows:
36//
37// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
38// 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
39// +---+-+-+-----------------------+-------------------------------+
40// |Sev|C|R| Facility | Code |
41// +---+-+-+-----------------------+-------------------------------+
42//
43// where
44//
45// Sev - is the severity code
46//
47// 00 - Success
48// 01 - Informational
49// 10 - Warning
50// 11 - Error
51//
52// C - is the Customer code flag
53//
54// R - is a reserved bit
55//
56// Facility - is the facility code
57//
58// Code - is the facility's status code
59//
60//
61// Define the facility codes
62//
63
64//
65// Define the severity codes
66//
67
68//
69// MessageId: MSG_EVENTLOG
70//
71// MessageText:
72//
73// %1.
74//
75//
76//
77#define MSG_EVENTLOG 0xC0000064L