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
e569efd1
Commit
e569efd1
authored
Nov 24, 2010
by
Magnus Blåudd
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
d2bdf5b1
a9a2d500
Changes
4
Hide 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 @
e569efd1
...
@@ -21,17 +21,21 @@ SET(SHARED_LIB_MAJOR_VERSION "16")
...
@@ -21,17 +21,21 @@ SET(SHARED_LIB_MAJOR_VERSION "16")
SET
(
PROTOCOL_VERSION
"10"
)
SET
(
PROTOCOL_VERSION
"10"
)
SET
(
DOT_FRM_VERSION
"6"
)
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.
# Read value for a variable from VERSION.
MACRO
(
MYSQL_GET_CONFIG_VALUE keyword var
)
MACRO
(
MYSQL_GET_CONFIG_VALUE keyword var
)
IF
(
NOT
${
var
}
)
IF
(
NOT
${
var
}
)
IF
(
EXISTS
${
CMAKE_SOURCE_DIR
}
/VERSION
)
FILE
(
STRINGS
${
CMAKE_SOURCE_DIR
}
/VERSION str REGEX
"^[ ]*
${
keyword
}
="
)
FILE
(
STRINGS
${
CMAKE_SOURCE_DIR
}
/VERSION str REGEX
"^[ ]*
${
keyword
}
="
)
IF
(
str
)
IF
(
str
)
STRING
(
REPLACE
"
${
keyword
}
="
""
str
${
str
}
)
STRING
(
REPLACE
"
${
keyword
}
="
""
str
${
str
}
)
STRING
(
REGEX REPLACE
"[ ].*"
""
str
"
${
str
}
"
)
STRING
(
REGEX REPLACE
"[ ].*"
""
str
"
${
str
}
"
)
SET
(
${
var
}
${
str
}
)
SET
(
${
var
}
${
str
}
)
ENDIF
()
ENDIF
()
ENDIF
()
ENDIF
()
ENDIF
()
ENDMACRO
()
ENDMACRO
()
...
...
cmake/plugin.cmake
View file @
e569efd1
...
@@ -123,7 +123,7 @@ MACRO(MYSQL_ADD_PLUGIN)
...
@@ -123,7 +123,7 @@ MACRO(MYSQL_ADD_PLUGIN)
# Update mysqld dependencies
# Update mysqld dependencies
SET
(
MYSQLD_STATIC_PLUGIN_LIBS
${
MYSQLD_STATIC_PLUGIN_LIBS
}
SET
(
MYSQLD_STATIC_PLUGIN_LIBS
${
MYSQLD_STATIC_PLUGIN_LIBS
}
${
target
}
CACHE INTERNAL
""
FORCE
)
${
target
}
${
ARG_LINK_LIBRARIES
}
CACHE INTERNAL
""
FORCE
)
IF
(
ARG_MANDATORY
)
IF
(
ARG_MANDATORY
)
SET
(
${
with_var
}
ON CACHE INTERNAL
"Link
${
plugin
}
statically to the server"
SET
(
${
with_var
}
ON CACHE INTERNAL
"Link
${
plugin
}
statically to the server"
...
...
libmysqld/CMakeLists.txt
View file @
e569efd1
...
@@ -26,7 +26,6 @@ ${CMAKE_SOURCE_DIR}/regex
...
@@ -26,7 +26,6 @@ ${CMAKE_SOURCE_DIR}/regex
${
ZLIB_INCLUDE_DIR
}
${
ZLIB_INCLUDE_DIR
}
${
SSL_INCLUDE_DIRS
}
${
SSL_INCLUDE_DIRS
}
${
SSL_INTERNAL_INCLUDE_DIRS
}
${
SSL_INTERNAL_INCLUDE_DIRS
}
${
NDB_CLUSTER_INCLUDES
}
${
CMAKE_SOURCE_DIR
}
/sql/backup
${
CMAKE_SOURCE_DIR
}
/sql/backup
)
)
...
@@ -110,7 +109,7 @@ SET(LIBS
...
@@ -110,7 +109,7 @@ SET(LIBS
dbug strings regex mysys vio
dbug strings regex mysys vio
${
ZLIB_LIBRARY
}
${
SSL_LIBRARIES
}
${
ZLIB_LIBRARY
}
${
SSL_LIBRARIES
}
${
LIBWRAP
}
${
LIBCRYPT
}
${
LIBDL
}
${
LIBWRAP
}
${
LIBCRYPT
}
${
LIBDL
}
${
MYSQLD_STATIC_PLUGIN_LIBS
}
${
NDB_CLIENT_LIBS
}
${
MYSQLD_STATIC_PLUGIN_LIBS
}
sql_embedded
sql_embedded
)
)
...
...
sql/sql_priv.h
View file @
e569efd1
...
@@ -144,6 +144,12 @@
...
@@ -144,6 +144,12 @@
*/
*/
#define OPTION_MASTER_SQL_ERROR (1ULL << 35)
#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 */
/* The rest of the file is included in the server only */
#ifndef MYSQL_CLIENT
#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