Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
8fe1cce5
Commit
8fe1cce5
authored
Oct 23, 2008
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Plain Diff
merge fix for Bug40280 from 5.0
parents
b84bc62b
f14edb91
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
71 additions
and
14 deletions
+71
-14
sql/CMakeLists.txt
sql/CMakeLists.txt
+2
-12
sql/MSG00001.bin
sql/MSG00001.bin
+0
-0
sql/Makefile.am
sql/Makefile.am
+4
-2
sql/message.h
sql/message.h
+55
-0
sql/message.mc
sql/message.mc
+8
-0
sql/message.rc
sql/message.rc
+2
-0
No files found.
sql/CMakeLists.txt
View file @
8fe1cce5
...
@@ -27,9 +27,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
...
@@ -27,9 +27,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
${
CMAKE_SOURCE_DIR
}
/zlib
${
CMAKE_SOURCE_DIR
}
/zlib
)
)
SET_SOURCE_FILES_PROPERTIES
(
${
CMAKE_SOURCE_DIR
}
/sql/message.rc
SET_SOURCE_FILES_PROPERTIES
(
${
CMAKE_SOURCE_DIR
}
/sql/sql_yacc.h
${
CMAKE_SOURCE_DIR
}
/sql/message.h
${
CMAKE_SOURCE_DIR
}
/sql/sql_yacc.h
${
CMAKE_SOURCE_DIR
}
/sql/sql_yacc.cc
${
CMAKE_SOURCE_DIR
}
/sql/sql_yacc.cc
${
CMAKE_SOURCE_DIR
}
/include/mysql_version.h
${
CMAKE_SOURCE_DIR
}
/include/mysql_version.h
${
CMAKE_SOURCE_DIR
}
/sql/sql_builtin.cc
${
CMAKE_SOURCE_DIR
}
/sql/sql_builtin.cc
...
@@ -135,14 +133,6 @@ ADD_CUSTOM_COMMAND(
...
@@ -135,14 +133,6 @@ ADD_CUSTOM_COMMAND(
--output=sql_yacc.cc sql_yacc.yy
--output=sql_yacc.cc sql_yacc.yy
DEPENDS
${
PROJECT_SOURCE_DIR
}
/sql/sql_yacc.yy
)
DEPENDS
${
PROJECT_SOURCE_DIR
}
/sql/sql_yacc.yy
)
IF
(
WIN32
)
# Windows message file
ADD_CUSTOM_COMMAND
(
OUTPUT
${
PROJECT_SOURCE_DIR
}
/sql/message.h
# ${PROJECT_SOURCE_DIR}/sql/message.rc
COMMAND mc ARGS message.mc
DEPENDS
${
PROJECT_SOURCE_DIR
}
/sql/message.mc
)
ENDIF
(
WIN32
)
# Gen_lex_hash
# Gen_lex_hash
ADD_EXECUTABLE
(
gen_lex_hash gen_lex_hash.cc
)
ADD_EXECUTABLE
(
gen_lex_hash gen_lex_hash.cc
)
...
@@ -165,7 +155,7 @@ ADD_DEPENDENCIES(mysqld GenServerSource)
...
@@ -165,7 +155,7 @@ ADD_DEPENDENCIES(mysqld GenServerSource)
# Remove the auto-generated files as part of 'Clean Solution'
# Remove the auto-generated files as part of 'Clean Solution'
SET_DIRECTORY_PROPERTIES
(
PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES
SET_DIRECTORY_PROPERTIES
(
PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES
"lex_hash.h;
message.rc;message.h;
sql_yacc.h;sql_yacc.cc"
)
"lex_hash.h;sql_yacc.h;sql_yacc.cc"
)
ADD_LIBRARY
(
udf_example MODULE udf_example.c udf_example.def
)
ADD_LIBRARY
(
udf_example MODULE udf_example.c udf_example.def
)
ADD_DEPENDENCIES
(
udf_example strings GenError
)
ADD_DEPENDENCIES
(
udf_example strings GenError
)
...
...
sql/MSG00001.bin
0 → 100644
View file @
8fe1cce5
File added
sql/Makefile.am
View file @
8fe1cce5
...
@@ -146,8 +146,10 @@ DEFS = -DMYSQL_SERVER \
...
@@ -146,8 +146,10 @@ DEFS = -DMYSQL_SERVER \
BUILT_MAINT_SRC
=
sql_yacc.cc sql_yacc.h
BUILT_MAINT_SRC
=
sql_yacc.cc sql_yacc.h
BUILT_SOURCES
=
$(BUILT_MAINT_SRC)
lex_hash.h link_sources
BUILT_SOURCES
=
$(BUILT_MAINT_SRC)
lex_hash.h link_sources
EXTRA_DIST
=
udf_example.c udf_example.def
$(BUILT_MAINT_SRC)
\
EXTRA_DIST
=
udf_example.c udf_example.def
$(BUILT_MAINT_SRC)
\
nt_servc.cc nt_servc.h message.mc CMakeLists.txt
\
nt_servc.cc nt_servc.h
\
udf_example.c udf_example.def
message.mc message.h message.rc MSG00001.bin
\
CMakeLists.txt
CLEANFILES
=
lex_hash.h sql_yacc.output link_sources
CLEANFILES
=
lex_hash.h sql_yacc.output link_sources
DISTCLEANFILES
=
$(EXTRA_PROGRAMS)
DISTCLEANFILES
=
$(EXTRA_PROGRAMS)
MAINTAINERCLEANFILES
=
$(BUILT_MAINT_SRC)
MAINTAINERCLEANFILES
=
$(BUILT_MAINT_SRC)
...
...
sql/message.h
0 → 100644
View file @
8fe1cce5
/*
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
sql/message.mc
View file @
8fe1cce5
;/*
; 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
MessageId = 100
Severity = Error
Severity = Error
Facility = Application
Facility = Application
...
...
sql/message.rc
0 → 100644
View file @
8fe1cce5
LANGUAGE 0x9,0x1
1 11 MSG00001.bin
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment