~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to sql/message.h

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  To change or add messages mysqld writes to the Windows error log, run
 
3
   mc.exe message.mc
 
4
  and checkin generated messages.h, messages.rc and msg000001.bin under the 
 
5
  source control.
 
6
  mc.exe can be installed with Windows SDK, some Visual Studio distributions 
 
7
  do not include it.
 
8
*/
 
9
//
 
10
//  Values are 32 bit values layed out as follows:
 
11
//
 
12
//   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
 
13
//   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
 
14
//  +---+-+-+-----------------------+-------------------------------+
 
15
//  |Sev|C|R|     Facility          |               Code            |
 
16
//  +---+-+-+-----------------------+-------------------------------+
 
17
//
 
18
//  where
 
19
//
 
20
//      Sev - is the severity code
 
21
//
 
22
//          00 - Success
 
23
//          01 - Informational
 
24
//          10 - Warning
 
25
//          11 - Error
 
26
//
 
27
//      C - is the Customer code flag
 
28
//
 
29
//      R - is a reserved bit
 
30
//
 
31
//      Facility - is the facility code
 
32
//
 
33
//      Code - is the facility's status code
 
34
//
 
35
//
 
36
// Define the facility codes
 
37
//
 
38
 
 
39
 
 
40
//
 
41
// Define the severity codes
 
42
//
 
43
 
 
44
 
 
45
//
 
46
// MessageId: MSG_DEFAULT
 
47
//
 
48
// MessageText:
 
49
//
 
50
//  %1For more information, see Help and Support Center at http://www.mysql.com.
 
51
//  
 
52
//  
 
53
//
 
54
#define MSG_DEFAULT                      0xC0000064L
 
55