summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-04-15 14:47:56 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2020-04-15 14:50:17 +0300
commita215e2132db41c2b1b3f9a6898fcb37e9ae4734f (patch)
tree16810d995f817b742fc16fd5a9f9aa44d6d7d7a4
parentae688808fab96f7d3995839d07a61b7990fe51cd (diff)
downloadmariadb-git-a215e2132db41c2b1b3f9a6898fcb37e9ae4734f.tar.gz
mbstream: Remove duplicate definition of datasink_buffer
For some reason, when mbstream is compiled with GCC 10, ld will fail to link it due to a multiple definition of datasink_buffer. The code appears to have been like that since the very beginning. Let us remove the duplicate dummy definition.
-rw-r--r--extra/mariabackup/xbstream.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/extra/mariabackup/xbstream.c b/extra/mariabackup/xbstream.c
index 59e0095f63c..6a4b203a684 100644
--- a/extra/mariabackup/xbstream.c
+++ b/extra/mariabackup/xbstream.c
@@ -45,7 +45,6 @@ datasink_t datasink_archive;
datasink_t datasink_xbstream;
datasink_t datasink_compress;
datasink_t datasink_tmpfile;
-datasink_t datasink_buffer;
static run_mode_t opt_mode;
static char * opt_directory = NULL;