mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			77 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			77 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef MESSAGE_INCLUDED
 | |
| #define MESSAGE_INCLUDED
 | |
| /* Copyright 2008 Sun Microsystems, Inc.
 | |
| 
 | |
|    This program is free software; you can redistribute it and/or modify
 | |
|    it under the terms of the GNU General Public License as published by
 | |
|    the Free Software Foundation; version 2 of the License.
 | |
| 
 | |
|    This program is distributed in the hope that it will be useful,
 | |
|    but WITHOUT ANY WARRANTY; without even the implied warranty of
 | |
|    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | |
|    GNU General Public License for more details.
 | |
| 
 | |
|    You should have received a copy of the GNU General Public License
 | |
|    along with this program; if not, write to the Free Software
 | |
|    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
 | |
| 
 | |
| /*
 | |
|   To change or add messages mysqld writes to the Windows error log, run
 | |
|    mc.exe message.mc
 | |
|   and checkin generated messages.h, messages.rc and msg000001.bin under the 
 | |
|   source control.
 | |
|   mc.exe can be installed with Windows SDK, some Visual Studio distributions 
 | |
|   do not include it.
 | |
| */
 | |
| 
 | |
| 
 | |
| //
 | |
| //  Values are 32 bit values layed out as follows:
 | |
| //
 | |
| //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
 | |
| //   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
 | |
| //  +---+-+-+-----------------------+-------------------------------+
 | |
| //  |Sev|C|R|     Facility          |               Code            |
 | |
| //  +---+-+-+-----------------------+-------------------------------+
 | |
| //
 | |
| //  where
 | |
| //
 | |
| //      Sev - is the severity code
 | |
| //
 | |
| //          00 - Success
 | |
| //          01 - Informational
 | |
| //          10 - Warning
 | |
| //          11 - Error
 | |
| //
 | |
| //      C - is the Customer code flag
 | |
| //
 | |
| //      R - is a reserved bit
 | |
| //
 | |
| //      Facility - is the facility code
 | |
| //
 | |
| //      Code - is the facility's status code
 | |
| //
 | |
| //
 | |
| // Define the facility codes
 | |
| //
 | |
| 
 | |
| 
 | |
| //
 | |
| // Define the severity codes
 | |
| //
 | |
| 
 | |
| 
 | |
| //
 | |
| // MessageId: MSG_DEFAULT
 | |
| //
 | |
| // MessageText:
 | |
| //
 | |
| //  %1For more information, see Help and Support Center at http://www.mysql.com.
 | |
| //  
 | |
| //  
 | |
| //
 | |
| #define MSG_DEFAULT                      0xC0000064L
 | |
| 
 | |
| #endif /* MESSAGE_INCLUDED */
 | |
| 
 |