You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +03:00
Fix/mcol 5611 5612 fedora build issues dev 6 (#3040)
* fix(build): include dequeue to satisfy fc39 compiler * fix(build): MCOL-5612 const func pointer assignement must happen after func definition to satisfy modern compilers static analyzer --------- Co-authored-by: Roman Nozdrin <rnozdrin@mariadb.com>
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
#ifndef S3STORAGE_H_
|
#ifndef S3STORAGE_H_
|
||||||
#define S3STORAGE_H_
|
#define S3STORAGE_H_
|
||||||
|
|
||||||
|
#include <deque>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include "CloudStorage.h"
|
#include "CloudStorage.h"
|
||||||
|
@@ -35,12 +35,11 @@
|
|||||||
|
|
||||||
using std::string;
|
using std::string;
|
||||||
|
|
||||||
|
|
||||||
#ifdef OPENSSL_VERSION_PREREQ
|
#ifdef OPENSSL_VERSION_PREREQ
|
||||||
#if OPENSSL_VERSION_PREREQ(3,0)
|
#if OPENSSL_VERSION_PREREQ(3, 0)
|
||||||
#define EVP_CIPHER_key_length EVP_CIPHER_get_key_length
|
#define EVP_CIPHER_key_length EVP_CIPHER_get_key_length
|
||||||
#define EVP_CIPHER_iv_length EVP_CIPHER_get_iv_length
|
#define EVP_CIPHER_iv_length EVP_CIPHER_get_iv_length
|
||||||
#define EVP_CIPHER_blocksize EVP_CIPHER_get_blocksize
|
#define EVP_CIPHER_blocksize EVP_CIPHER_get_blocksize
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -96,10 +95,6 @@ void CSPasswdLogging::log(int priority, const char* format, ...)
|
|||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
using HexLookupTable = std::array<uint8_t, 256>;
|
using HexLookupTable = std::array<uint8_t, 256>;
|
||||||
HexLookupTable init_hex_lookup_table() noexcept;
|
|
||||||
|
|
||||||
// Hex char -> byte val lookup table.
|
|
||||||
const HexLookupTable hex_lookup_table = init_hex_lookup_table();
|
|
||||||
|
|
||||||
/* used in the bin2hex function */
|
/* used in the bin2hex function */
|
||||||
const char hex_upper[] = "0123456789ABCDEF";
|
const char hex_upper[] = "0123456789ABCDEF";
|
||||||
@@ -134,6 +129,9 @@ HexLookupTable init_hex_lookup_table() noexcept
|
|||||||
return rval;
|
return rval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Hex char -> byte val lookup table.
|
||||||
|
const HexLookupTable hex_lookup_table = init_hex_lookup_table();
|
||||||
|
|
||||||
bool hex2bin(const char* in, unsigned int in_len, uint8_t* out)
|
bool hex2bin(const char* in, unsigned int in_len, uint8_t* out)
|
||||||
{
|
{
|
||||||
// Input length must be multiple of two.
|
// Input length must be multiple of two.
|
||||||
|
Reference in New Issue
Block a user