MySQL 9.0.0
Source Code Documentation
message.h
Go to the documentation of this file.
1#ifndef MESSAGE_INCLUDED
2#define MESSAGE_INCLUDED
3/* Copyright (c) 2008, 2024, 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 designed to work 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 either included with
16 the program or referenced in the documentation.
17
18 This program is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU General Public License, version 2.0, for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with this program; if not, write to the Free Software
25 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
26
27/*
28 To change or add messages mysqld writes to the Windows 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//
37// Values are 32 bit values laid out as follows:
38//
39// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
40// 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
41// +---+-+-+-----------------------+-------------------------------+
42// |Sev|C|R| Facility | Code |
43// +---+-+-+-----------------------+-------------------------------+
44//
45// where
46//
47// Sev - is the severity code
48//
49// 00 - Success
50// 01 - Informational
51// 10 - Warning
52// 11 - Error
53//
54// C - is the Customer code flag
55//
56// R - is a reserved bit
57//
58// Facility - is the facility code
59//
60// Code - is the facility's status code
61//
62//
63// Define the facility codes
64//
65
66//
67// Define the severity codes
68//
69
70//
71// MessageId: MSG_DEFAULT
72//
73// MessageText:
74//
75// %1For more information, see Help and Support Center at http://www.mysql.com.
76//
77//
78//
79#define MSG_DEFAULT 0xC0000064L
80
81#endif /* MESSAGE_INCLUDED */