MySQL
8.1.0
Source Code Documentation
message.h
Go to the documentation of this file.
1
/*
2
Copyright (c) 2018, 2023, Oracle and/or its affiliates.
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, version 2.0,
6
as published by the Free Software Foundation.
7
8
This program is also distributed with certain software (including
9
but not limited to OpenSSL) that is licensed under separate terms,
10
as designated in a particular file or component or in included license
11
documentation. The authors of MySQL hereby grant you an additional
12
permission to link the program and your derivative works with the
13
separately licensed software that they have included with MySQL.
14
15
This program is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
GNU General Public License, version 2.0, for more details.
19
20
You should have received a copy of the GNU General Public License
21
along with this program; if not, write to the Free Software
22
Foundation, 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
router
src
harness
src
logging
eventlog_rc
message.h
Generated by
1.9.2