Skip to content

Commit

Permalink
MDEV-23539: aws key plugin - fails to build
Browse files Browse the repository at this point in the history
Recent gcc/clang versions failed to compile the existing code.

Updating a later upstream SDK version was simple and required
only implementing a flush method. This was left blank as
there was no strong requirement to keep the error log
atomic or durable.

Reviewed-by: wlad@mariadb.com

The upstream SDK version added a flush method which was simple
to complete.
  • Loading branch information
grooverdan committed Oct 26, 2020
1 parent c4f8ccc commit 045671d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion extra/aws_sdk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ENDFOREACH()
IF(CMAKE_VERSION LESS "3.0")
SET(GIT_TAG "1.0.8")
ELSE()
SET(GIT_TAG "1.2.11")
SET(GIT_TAG "1.8.29")
ENDIF()

IF(MSVC_CRT_TYPE MATCHES "/MD")
Expand Down
4 changes: 4 additions & 0 deletions plugin/aws_key_management/aws_key_management_plugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ class MySQLLogSystem : public Aws::Utils::Logging::FormattedLogSystem
{
}

virtual void Flush(void) override
{
}

protected:
virtual void ProcessFormattedStatement(Aws::String&& statement) override
{
Expand Down

0 comments on commit 045671d

Please sign in to comment.