MySQL 9.1.0
Source Code Documentation
message.h
Go to the documentation of this file.
1/*
2Copyright (c) 2018, 2024, 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 designed to work 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 either included with
14the program or referenced in the documentation.
15
16This program is distributed in the hope that it will be useful,
17but WITHOUT ANY WARRANTY; without even the implied warranty of
18MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19GNU General Public License, version 2.0, for more details.
20
21You should have received a copy of the GNU General Public License
22along with this program; if not, write to the Free Software
23Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24*/
25
26/*
27 To change or add messages ndbd or ndb_mgmd writes to the Windows
28 error log, run
29 mc.exe message.mc
30 and checkin generated messages.h, messages.rc and msg000001.bin under the
31 source control.
32 mc.exe can be installed with Windows SDK, some Visual Studio distributions
33 do not include it.
34*/
35//
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_EVENTLOG
71//
72// MessageText:
73//
74// %1.
75//
76//
77//
78#define MSG_EVENTLOG 0xC0000064L