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
8cf166bf
Commit
8cf166bf
authored
Apr 23, 2020
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update libmarias3 to fix a memory leak
parent
51f0fa4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
storage/maria/CMakeLists.txt
storage/maria/CMakeLists.txt
+5
-5
storage/maria/libmarias3
storage/maria/libmarias3
+1
-1
No files found.
storage/maria/CMakeLists.txt
View file @
8cf166bf
...
...
@@ -135,16 +135,15 @@ SET(CURL_SSL_TEST_SOURCE "\n
SET
(
S3_SOURCES ha_s3.cc s3_func.c
libmarias3/src/debug.c libmarias3/src/error.c libmarias3/src/marias3.c
libmarias3/src/request.c libmarias3/src/response.c libmarias3/src/sha256.c
libmarias3/src/sha256-internal.c
)
libmarias3/src/sha256-internal.c
libmarias3/src/xml.c
)
IF
(
NOT PLUGIN_S3 STREQUAL NO
)
FIND_PACKAGE
(
LibXml2
)
FIND_PACKAGE
(
CURL
)
ENDIF
()
IF
(
LIBXML2_FOUND AND
CURL_FOUND
)
IF
(
CURL_FOUND
)
MYSQL_ADD_PLUGIN
(
s3
${
S3_SOURCES
}
STORAGE_ENGINE STATIC_ONLY
LINK_LIBRARIES aria myisam mysys mysys_ssl
xml2
curl
LINK_LIBRARIES aria myisam mysys mysys_ssl curl
NOT_EMBEDDED
)
ENDIF
()
...
...
@@ -155,7 +154,8 @@ IF(TARGET s3)
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
${
LIBXML2_INCLUDE_DIR
}
)
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"
)
...
...
libmarias3
@
8727cf74
Subproject commit
fe0869eb40b13c361454c44cebe6f889b52535c
b
Subproject commit
8727cf74fd9fe641ee1b200486036f311e2bd09
b
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