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

« back to all changes in this revision

Viewing changes to sql/message.h

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen
  • Date: 2015-06-13 21:09:48 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20150613210948-6b0ina6he3w5s307
Tags: 5.5.44-1ubuntu0.14.04.1
* SECURITY UPDATE: Update to 5.5.44 to fix security issues (LP: #1464895):
  - CVE-2015-3152
* Upstream also includes lots of line ending changes (from CRLF -> LF)
* Removed hotfix patch now included in upstream release (MDEV-8115)

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
 
 
 
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