summaryrefslogtreecommitdiff
path: root/sql/message.mc
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2008-10-23 15:28:53 +0200
committerVladislav Vaintroub <vvaintroub@mysql.com>2008-10-23 15:28:53 +0200
commit49ff055736b3b613005e5b17915d08fe48b7b532 (patch)
treedb430586277a725560fc7a2845f21b691e5ea119 /sql/message.mc
parentd501f48757f891873bccedb7914d1348a981e0f6 (diff)
downloadmariadb-git-49ff055736b3b613005e5b17915d08fe48b7b532.tar.gz
Bug#40280: Message compiler(mc.exe) needed to compile MySQL on windows.
Visual Studio 2008 Express edition does not include message compiler mc.exe It is not possible to build MySQL server if only VC2008 Express is installed, because we use mc.exe to generate event log messages. This patch removes the mc.exe dependency. Generated files message.h, message.rc and MSG00001.bin are checked into source code repository. Instructions on how to add or change messages are added to messages.mc
Diffstat (limited to 'sql/message.mc')
-rw-r--r--sql/message.mc8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/message.mc b/sql/message.mc
index a1a7c8cff7e..8d68d599365 100644
--- a/sql/message.mc
+++ b/sql/message.mc
@@ -1,3 +1,11 @@
+;/*
+; 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.
+;*/
MessageId = 100
Severity = Error
Facility = Application