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
7c0cf204
Commit
7c0cf204
authored
Jun 14, 2020
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update libmarias3
parent
7bb32cda
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
37 deletions
+1
-37
storage/maria/CMakeLists.txt
storage/maria/CMakeLists.txt
+0
-36
storage/maria/libmarias3
storage/maria/libmarias3
+1
-1
No files found.
storage/maria/CMakeLists.txt
View file @
7c0cf204
...
...
@@ -104,33 +104,6 @@ OPTION(USE_ARIA_FOR_TMP_TABLES "Use Aria for temporary tables" ON)
# S3
#
INCLUDE
(
CheckIncludeFiles
)
INCLUDE
(
CheckCSourceRuns
)
SET
(
CURL_SSL_TEST_SOURCE
"
\n
#include <curl/curl.h>
\n
#include <stdlib.h>
\n
#include <string.h>
\n
int main(void)
\n
{
\n
curl_version_info_data *data = curl_version_info(CURLVERSION_NOW);
\n
\n
if (data->ssl_version)
\n
{
\n
if (strncmp(data->ssl_version,
\"
OpenSSL
\"
, 7) != 0)
\n
{
\n
return EXIT_SUCCESS;
\n
}
\n
if (data->ssl_version[8] == '0')
\n
{
\n
return EXIT_FAILURE;
\n
}
\n
if ((data->ssl_version[8] == '1') && (data->ssl_version[10] == '0'))
\n
{
\n
return EXIT_FAILURE;
\n
}
\n
}
\n
return EXIT_SUCCESS;
\n
}"
)
SET
(
S3_SOURCES ha_s3.cc s3_func.c
libmarias3/src/debug.c libmarias3/src/error.c libmarias3/src/marias3.c
...
...
@@ -148,21 +121,12 @@ IF (CURL_FOUND)
ENDIF
()
IF
(
TARGET s3
)
SET
(
CMAKE_REQUIRED_LIBRARIES curl
)
CHECK_C_SOURCE_RUNS
(
"
${
CURL_SSL_TEST_SOURCE
}
"
FOUND_SAFE_CURL_SSL
)
UNSET
(
CMAKE_REQUIRED_LIBRARIES
)
MYSQL_ADD_EXECUTABLE
(
aria_s3_copy aria_s3_copy.cc COMPONENT Server
)
TARGET_LINK_LIBRARIES
(
aria_s3_copy s3
)
INCLUDE_DIRECTORIES
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/libmarias3
)
ADD_DEFINITIONS
(
-DWITH_S3_STORAGE_ENGINE
)
IF
(
FOUND_SAFE_CURL_SSL
)
MESSAGE
(
STATUS
"Found thread safe curl ssl"
)
ELSE
()
MESSAGE
(
STATUS
"Found thread unsafe curl ssl, locks added"
)
ADD_DEFINITIONS
(
-DHAVE_CURL_OPENSSL_UNSAFE
)
ENDIF
()
TARGET_LINK_LIBRARIES
(
aria s3
)
ENDIF
()
libmarias3
@
d172e86c
Subproject commit
8727cf74fd9fe641ee1b200486036f311e2bd09b
Subproject commit
d172e86c16224b4e0229ca6f102e662a2315aeff
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