MDEV-23539: aws key plugin - fails to build

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.
This commit is contained in:
Daniel Black 2020-10-24 17:58:19 +11:00
parent c4f8ccc0f5
commit 045671d473
2 changed files with 5 additions and 1 deletions

View file

@ -34,7 +34,7 @@ ENDFOREACH()
IF(CMAKE_VERSION LESS "3.0") IF(CMAKE_VERSION LESS "3.0")
SET(GIT_TAG "1.0.8") SET(GIT_TAG "1.0.8")
ELSE() ELSE()
SET(GIT_TAG "1.2.11") SET(GIT_TAG "1.8.29")
ENDIF() ENDIF()
IF(MSVC_CRT_TYPE MATCHES "/MD") IF(MSVC_CRT_TYPE MATCHES "/MD")

View file

@ -161,6 +161,10 @@ public:
{ {
} }
virtual void Flush(void) override
{
}
protected: protected:
virtual void ProcessFormattedStatement(Aws::String&& statement) override virtual void ProcessFormattedStatement(Aws::String&& statement) override
{ {