summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2020-06-01 16:21:50 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2020-06-01 16:21:50 +0200
commit661ebd469997e42e6d5c831791d2c2e68f240a83 (patch)
tree41e10c82120c76a18efe80e0c5199b4fbf91ed3a
parent6e6d79a5cfc59fcbeed27eef5e5e1050b6b8a43a (diff)
downloadmariadb-git-661ebd469997e42e6d5c831791d2c2e68f240a83.tar.gz
Fix my_checksum declaration.
exporting data from the server needs MYSQL_PLUGIN_IMPORT.
-rw-r--r--include/my_sys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index 0807d5b6701..31e202c5810 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -926,7 +926,7 @@ void my_checksum_init(void);
extern my_checksum(ha_checksum, const void *, size_t);
#else
typedef ha_checksum (*my_crc32_t)(ha_checksum, const void *, size_t);
-extern my_crc32_t my_checksum;
+extern MYSQL_PLUGIN_IMPORT my_crc32_t my_checksum;
#endif
#if defined(__GNUC__) && defined(HAVE_ARMV8_CRC)