mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / sql / message.h
blobbeb66b7ab5df8511e8fa90e3cbb71d47b7e283ab
1 /* Copyright (c) 2008 Sun Microsystems, Inc.
2 Use is subject to license terms.
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; version 2 of the License.
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
13 You should have received a copy of the GNU General Public License
14 along with this program; if not, write to the Free Software
15 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
18 To change or add messages mysqld writes to the Windows error log, run
19 mc.exe message.mc
20 and checkin generated messages.h, messages.rc and msg000001.bin under the
21 source control.
22 mc.exe can be installed with Windows SDK, some Visual Studio distributions
23 do not include it.
26 // Values are 32 bit values layed out as follows:
28 // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
29 // 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
30 // +---+-+-+-----------------------+-------------------------------+
31 // |Sev|C|R| Facility | Code |
32 // +---+-+-+-----------------------+-------------------------------+
34 // where
36 // Sev - is the severity code
38 // 00 - Success
39 // 01 - Informational
40 // 10 - Warning
41 // 11 - Error
43 // C - is the Customer code flag
45 // R - is a reserved bit
47 // Facility - is the facility code
49 // Code - is the facility's status code
52 // Define the facility codes
57 // Define the severity codes
62 // MessageId: MSG_DEFAULT
64 // MessageText:
66 // %1For more information, see Help and Support Center at http://www.mysql.com.
67 //
68 //
70 #define MSG_DEFAULT 0xC0000064L