MySQL 9.1.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
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License, version 2.0,
7 as published by the Free Software Foundation.
8
9 This program is designed to work with certain software (including
10 but not limited to OpenSSL) that is licensed under separate terms,
11 as designated in a particular file or component or in included license
12 documentation. The authors of MySQL hereby grant you an additional
13 permission to link the program and your derivative works with the
14 separately licensed software that they have either included with
15 the program or referenced in the documentation.
16
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License, version 2.0, for more details.
21
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, write to the Free Software
24 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
25
26/*
27 To change or add messages mysqld writes to the Windows 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//
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_DEFAULT
71//
72// MessageText:
73//
74// %1For more information, see Help and Support Center at http://www.mysql.com.
75//
76//
77//
78#define MSG_DEFAULT 0xC0000064L
79
80#endif /* MESSAGE_INCLUDED */