forked from mysql/mysql-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug#24399819 SQL/RPL_WRITE_SET_HANDLER.CC INCLUDES PRIVATE LZ4 HEADER
FILE Problem: The fix for bug #23607230 used xxhash symbols from liblz4, but even though the xxhash symbols are exported by liblz4, the header file is not part of the API, so compilation fails when building with WITH_LZ4=system. Fix: Build xxhash separately from liblz4 so that it's available both when using system and bundled lz4 libraries.
- Loading branch information
Showing
4 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#ifndef MY_XXHASH_H_INCLUDED | ||
#define MY_XXHASH_H_INCLUDED | ||
|
||
/* | ||
Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; version 2 of the License. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program; if not, write to the Free Software Foundation, | ||
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA | ||
*/ | ||
|
||
// Define a namespace prefix to all xxhash functions. This is done to | ||
// avoid conflict with xxhash symbols in liblz4. | ||
#define XXH_NAMESPACE MY_ | ||
|
||
#include "xxhash.h" | ||
|
||
#endif // MY_XXHASH_H_INCLUDED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters