~ubuntu-branches/ubuntu/trusty/mariadb-5.5/trusty-proposed

« back to all changes in this revision

Viewing changes to sql/message.h

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen
  • Date: 2013-12-22 10:27:05 UTC
  • Revision ID: package-import@ubuntu.com-20131222102705-mndw7s12mz0szrcn
Tags: upstream-5.5.32
Import upstream version 5.5.32

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef MESSAGE_INCLUDED
 
2
#define MESSAGE_INCLUDED
 
3
/* Copyright (c) 2008, 2009 Sun Microsystems, Inc.
 
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 as published by
 
8
   the Free Software Foundation; version 2 of the License.
 
9
 
 
10
   This program is distributed in the hope that it will be useful,
 
11
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
   GNU General Public License for more details.
 
14
 
 
15
   You should have received a copy of the GNU General Public License
 
16
   along with this program; if not, write to the Free Software
 
17
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA */
 
18
 
 
19
/*
 
20
  To change or add messages mysqld writes to the Windows error log, run
 
21
   mc.exe message.mc
 
22
  and checkin generated messages.h, messages.rc and msg000001.bin under the 
 
23
  source control.
 
24
  mc.exe can be installed with Windows SDK, some Visual Studio distributions 
 
25
  do not include it.
 
26
*/
 
27
 
 
28
 
 
29
//
 
30
//  Values are 32 bit values layed out as follows:
 
31
//
 
32
//   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
 
33
//   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
 
34
//  +---+-+-+-----------------------+-------------------------------+
 
35
//  |Sev|C|R|     Facility          |               Code            |
 
36
//  +---+-+-+-----------------------+-------------------------------+
 
37
//
 
38
//  where
 
39
//
 
40
//      Sev - is the severity code
 
41
//
 
42
//          00 - Success
 
43
//          01 - Informational
 
44
//          10 - Warning
 
45
//          11 - Error
 
46
//
 
47
//      C - is the Customer code flag
 
48
//
 
49
//      R - is a reserved bit
 
50
//
 
51
//      Facility - is the facility code
 
52
//
 
53
//      Code - is the facility's status code
 
54
//
 
55
//
 
56
// Define the facility codes
 
57
//
 
58
 
 
59
 
 
60
//
 
61
// Define the severity codes
 
62
//
 
63
 
 
64
 
 
65
//
 
66
// MessageId: MSG_DEFAULT
 
67
//
 
68
// MessageText:
 
69
//
 
70
//  %1For more information, see Help and Support Center at http://www.mysql.com.
 
71
//  
 
72
//  
 
73
//
 
74
#define MSG_DEFAULT                      0xC0000064L
 
75
 
 
76
#endif /* MESSAGE_INCLUDED */
 
77