summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--storage/maria/CMakeLists.txt2
-rw-r--r--storage/maria/s3_func.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/storage/maria/CMakeLists.txt b/storage/maria/CMakeLists.txt
index 1091b6d9a2c..9e9b8ed4ac0 100644
--- a/storage/maria/CMakeLists.txt
+++ b/storage/maria/CMakeLists.txt
@@ -117,7 +117,7 @@ SET(S3_SOURCES s3_func.c
libmarias3/src/sha256-internal.c libmarias3/src/xml.c
libmarias3/src/assume_role.c)
-IF(NOT PLUGIN_S3 STREQUAL NO)
+IF(NOT PLUGIN_S3 STREQUAL NO AND NOT WIN32)
FIND_PACKAGE(CURL)
ENDIF()
diff --git a/storage/maria/s3_func.c b/storage/maria/s3_func.c
index 06178c1c0c2..491a8e0a323 100644
--- a/storage/maria/s3_func.c
+++ b/storage/maria/s3_func.c
@@ -1310,7 +1310,7 @@ my_bool set_database_and_table_from_path(S3_INFO *s3, const char *path)
if (path[length-1] == FN_LIBCHAR || path[length-1] == '/')
break;
#ifdef FN_DEVCHAR
- if (path[length-1] == FN_DECVHAR)
+ if (path[length-1] == FN_DEVCHAR)
break;
#endif
}