mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
#4729 get the compilation of the compression patch correct refs[t:4729]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@42862 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
9b28cbff31
commit
9e8dc90d60
2 changed files with 4 additions and 4 deletions
|
@ -6151,7 +6151,7 @@ static inline enum row_type
|
|||
compression_method_to_row_type(enum toku_compression_method method)
|
||||
{
|
||||
switch (method) {
|
||||
#if defined(ROW_TYPE_TOKU_UNCOMPRESSED)
|
||||
#if TOKU_INCLUDE_ROW_TYPE_COMPRESSION
|
||||
case TOKU_NO_COMPRESSION:
|
||||
return ROW_TYPE_TOKU_UNCOMPRESSED;
|
||||
case TOKU_ZLIB_METHOD:
|
||||
|
@ -6195,7 +6195,7 @@ static inline enum toku_compression_method
|
|||
row_type_to_compression_method(enum row_type type)
|
||||
{
|
||||
switch (type) {
|
||||
#if defined(ROW_TYPE_TOKU_UNCOMPRESSED)
|
||||
#if TOKU_INCLUDE_ROW_TYPE_COMPRESSION
|
||||
case ROW_TYPE_TOKU_UNCOMPRESSED:
|
||||
return TOKU_NO_COMPRESSION;
|
||||
case ROW_TYPE_TOKU_ZLIB:
|
||||
|
@ -6601,7 +6601,7 @@ static inline enum row_type
|
|||
row_format_to_row_type(srv_row_format_t row_format)
|
||||
{
|
||||
switch (row_format) {
|
||||
#if defined(ROW_TYPE_TOKU_UNCOMPRESSED)
|
||||
#if TOKU_INCLUDE_ROW_TYPE_COMPRESSION
|
||||
case SRV_ROW_FORMAT_UNCOMPRESSED:
|
||||
return ROW_TYPE_TOKU_UNCOMPRESSED;
|
||||
case SRV_ROW_FORMAT_ZLIB:
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#endif
|
||||
|
||||
#define TOKU_INCLUDE_CHECKPOINT_LOCK 1
|
||||
|
||||
#define TOKU_INCLUDE_ROW_TYPE_COMPRESSION 1
|
||||
|
||||
#if !defined(HA_CLUSTERING)
|
||||
#define HA_CLUSTERING 0
|
||||
|
|
Loading…
Reference in a new issue