You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-4814 Add a cmake build option to enable LZ4 compression.
This patch adds an option for cmake flags to enable lz4 compression.
This commit is contained in:
@ -19,12 +19,15 @@
|
||||
#include <my_config.h>
|
||||
#include "idb_mysql.h"
|
||||
#include "ha_mcs_sysvars.h"
|
||||
#include "mcsconfig.h"
|
||||
|
||||
const char* mcs_compression_type_names[] = {
|
||||
"SNAPPY", // 0
|
||||
"SNAPPY", // 1
|
||||
"SNAPPY", // 2
|
||||
#ifdef HAVE_LZ4
|
||||
"LZ4", // 3
|
||||
#endif
|
||||
NullS
|
||||
};
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
|
||||
#include <my_config.h>
|
||||
#include "idb_mysql.h"
|
||||
#include "mcsconfig.h"
|
||||
|
||||
extern st_mysql_sys_var* mcs_system_variables[];
|
||||
extern st_mysql_show_var mcs_status_variables[];
|
||||
@ -31,7 +32,9 @@ extern char cs_commit_hash[];
|
||||
enum mcs_compression_type_t {
|
||||
NO_COMPRESSION = 0,
|
||||
SNAPPY = 2,
|
||||
#ifdef HAVE_LZ4
|
||||
LZ4 = 3
|
||||
#endif
|
||||
};
|
||||
|
||||
// use_import_for_batchinsert mode
|
||||
|
Reference in New Issue
Block a user