Skip to content

Instantly share code, notes, and snippets.

@grooverdan
Created August 16, 2020 02:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grooverdan/639557efa21fd4a67aee0002c7f81d3d to your computer and use it in GitHub Desktop.
Save grooverdan/639557efa21fd4a67aee0002c7f81d3d to your computer and use it in GitHub Desktop.
Patch to get AWS plugin compiled
diff --git a/extra/aws_sdk/CMakeLists.txt b/extra/aws_sdk/CMakeLists.txt
index 85a196dccce..7c4b8d8195c 100644
--- a/extra/aws_sdk/CMakeLists.txt
+++ b/extra/aws_sdk/CMakeLists.txt
@@ -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")
diff --git a/plugin/aws_key_management/aws_key_management_plugin.cc b/plugin/aws_key_management/aws_key_management_plugin.cc
index 489dd375387..e2182336aa6 100644
--- a/plugin/aws_key_management/aws_key_management_plugin.cc
+++ b/plugin/aws_key_management/aws_key_management_plugin.cc
@@ -161,6 +161,10 @@ class MySQLLogSystem : public Aws::Utils::Logging::FormattedLogSystem
{
}
+ virtual void Flush(void) override
+ {
+ }
+
protected:
virtual void ProcessFormattedStatement(Aws::String&& statement) override
{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment