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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
54dd014a
Commit
54dd014a
authored
Nov 24, 2010
by
Magnus Blåudd
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
7a3636c1
2d46b515
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
10 deletions
+19
-10
cmake/mysql_version.cmake
cmake/mysql_version.cmake
+11
-7
cmake/plugin.cmake
cmake/plugin.cmake
+1
-1
libmysqld/CMakeLists.txt
libmysqld/CMakeLists.txt
+1
-2
sql/sql_priv.h
sql/sql_priv.h
+6
-0
No files found.
cmake/mysql_version.cmake
View file @
54dd014a
...
...
@@ -21,11 +21,16 @@ SET(SHARED_LIB_MAJOR_VERSION "16")
SET
(
PROTOCOL_VERSION
"10"
)
SET
(
DOT_FRM_VERSION
"6"
)
# Generate "something" to trigger cmake rerun when VERSION changes
CONFIGURE_FILE
(
${
CMAKE_SOURCE_DIR
}
/VERSION
${
CMAKE_BINARY_DIR
}
/VERSION.dep
)
# Read value for a variable from VERSION.
MACRO
(
MYSQL_GET_CONFIG_VALUE keyword var
)
IF
(
NOT
${
var
}
)
IF
(
EXISTS
${
CMAKE_SOURCE_DIR
}
/VERSION
)
FILE
(
STRINGS
${
CMAKE_SOURCE_DIR
}
/VERSION str REGEX
"^[ ]*
${
keyword
}
="
)
IF
(
str
)
STRING
(
REPLACE
"
${
keyword
}
="
""
str
${
str
}
)
...
...
@@ -33,7 +38,6 @@ MACRO(MYSQL_GET_CONFIG_VALUE keyword var)
SET
(
${
var
}
${
str
}
)
ENDIF
()
ENDIF
()
ENDIF
()
ENDMACRO
()
...
...
cmake/plugin.cmake
View file @
54dd014a
...
...
@@ -123,7 +123,7 @@ MACRO(MYSQL_ADD_PLUGIN)
# Update mysqld dependencies
SET
(
MYSQLD_STATIC_PLUGIN_LIBS
${
MYSQLD_STATIC_PLUGIN_LIBS
}
${
target
}
CACHE INTERNAL
""
FORCE
)
${
target
}
${
ARG_LINK_LIBRARIES
}
CACHE INTERNAL
""
FORCE
)
IF
(
ARG_MANDATORY
)
SET
(
${
with_var
}
ON CACHE INTERNAL
"Link
${
plugin
}
statically to the server"
...
...
libmysqld/CMakeLists.txt
View file @
54dd014a
...
...
@@ -26,7 +26,6 @@ ${CMAKE_SOURCE_DIR}/regex
${
ZLIB_INCLUDE_DIR
}
${
SSL_INCLUDE_DIRS
}
${
SSL_INTERNAL_INCLUDE_DIRS
}
${
NDB_CLUSTER_INCLUDES
}
${
CMAKE_SOURCE_DIR
}
/sql/backup
)
...
...
@@ -110,7 +109,7 @@ SET(LIBS
dbug strings regex mysys vio
${
ZLIB_LIBRARY
}
${
SSL_LIBRARIES
}
${
LIBWRAP
}
${
LIBCRYPT
}
${
LIBDL
}
${
MYSQLD_STATIC_PLUGIN_LIBS
}
${
NDB_CLIENT_LIBS
}
${
MYSQLD_STATIC_PLUGIN_LIBS
}
sql_embedded
)
...
...
sql/sql_priv.h
View file @
54dd014a
...
...
@@ -144,6 +144,12 @@
*/
#define OPTION_MASTER_SQL_ERROR (1ULL << 35)
/*
Dont report errors for individual rows,
But just report error on commit (or read ofcourse)
Note! Reserved for use in MySQL Cluster
*/
#define OPTION_ALLOW_BATCH (ULL(1) << 36) // THD, intern (slave)
/* The rest of the file is included in the server only */
#ifndef MYSQL_CLIENT
...
...
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