mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
Turn all new features off by default.
This commit is contained in:
@@ -16591,8 +16591,8 @@ static MYSQL_SYSVAR_BOOL(compress_index_pages, srv_page_compress_index_pages,
|
|||||||
|
|
||||||
static MYSQL_SYSVAR_BOOL(use_trim, srv_use_trim,
|
static MYSQL_SYSVAR_BOOL(use_trim, srv_use_trim,
|
||||||
PLUGIN_VAR_OPCMDARG,
|
PLUGIN_VAR_OPCMDARG,
|
||||||
"Use trim.",
|
"Use trim. Default FALSE.",
|
||||||
NULL, NULL, TRUE);
|
NULL, NULL, FALSE);
|
||||||
|
|
||||||
#ifdef HAVE_LZ4
|
#ifdef HAVE_LZ4
|
||||||
static MYSQL_SYSVAR_BOOL(use_lz4, srv_use_lz4,
|
static MYSQL_SYSVAR_BOOL(use_lz4, srv_use_lz4,
|
||||||
@@ -16612,8 +16612,8 @@ static MYSQL_SYSVAR_LONG(mtflush_threads, srv_mtflush_threads,
|
|||||||
|
|
||||||
static MYSQL_SYSVAR_BOOL(use_mtflush, srv_use_mtflush,
|
static MYSQL_SYSVAR_BOOL(use_mtflush, srv_use_mtflush,
|
||||||
PLUGIN_VAR_OPCMDARG ,
|
PLUGIN_VAR_OPCMDARG ,
|
||||||
"Use multi-threaded flush. Default TRUE.",
|
"Use multi-threaded flush. Default FALSE.",
|
||||||
NULL, NULL, TRUE);
|
NULL, NULL, FALSE);
|
||||||
|
|
||||||
static struct st_mysql_sys_var* innobase_system_variables[]= {
|
static struct st_mysql_sys_var* innobase_system_variables[]= {
|
||||||
MYSQL_SYSVAR(additional_mem_pool_size),
|
MYSQL_SYSVAR(additional_mem_pool_size),
|
||||||
|
@@ -152,7 +152,7 @@ UNIV_INTERN my_bool srv_page_compress_index_pages = FALSE;
|
|||||||
UNIV_INTERN long srv_trim_pct = 100;
|
UNIV_INTERN long srv_trim_pct = 100;
|
||||||
/* If this flag is TRUE, then we will use fallocate(PUCH_HOLE)
|
/* If this flag is TRUE, then we will use fallocate(PUCH_HOLE)
|
||||||
to the pages */
|
to the pages */
|
||||||
UNIV_INTERN my_bool srv_use_trim = TRUE;
|
UNIV_INTERN my_bool srv_use_trim = FALSE;
|
||||||
/* If this flag is TRUE, then we will use posix fallocate for file extentsion */
|
/* If this flag is TRUE, then we will use posix fallocate for file extentsion */
|
||||||
UNIV_INTERN my_bool srv_use_posix_fallocate = FALSE;
|
UNIV_INTERN my_bool srv_use_posix_fallocate = FALSE;
|
||||||
/* If this flag is TRUE, then we disable doublewrite buffer */
|
/* If this flag is TRUE, then we disable doublewrite buffer */
|
||||||
@@ -162,7 +162,7 @@ UNIV_INTERN my_bool srv_use_lz4 = FALSE;
|
|||||||
/* Number of threads used for multi-threaded flush */
|
/* Number of threads used for multi-threaded flush */
|
||||||
UNIV_INTERN long srv_mtflush_threads = MTFLUSH_DEFAULT_WORKER;
|
UNIV_INTERN long srv_mtflush_threads = MTFLUSH_DEFAULT_WORKER;
|
||||||
/* If this flag is TRUE, then we will use multi threaded flush. */
|
/* If this flag is TRUE, then we will use multi threaded flush. */
|
||||||
UNIV_INTERN my_bool srv_use_mtflush = TRUE;
|
UNIV_INTERN my_bool srv_use_mtflush = FALSE;
|
||||||
|
|
||||||
#ifdef __WIN__
|
#ifdef __WIN__
|
||||||
/* Windows native condition variables. We use runtime loading / function
|
/* Windows native condition variables. We use runtime loading / function
|
||||||
|
@@ -17952,8 +17952,8 @@ static MYSQL_SYSVAR_BOOL(compress_index_pages, srv_page_compress_index_pages,
|
|||||||
|
|
||||||
static MYSQL_SYSVAR_BOOL(use_trim, srv_use_trim,
|
static MYSQL_SYSVAR_BOOL(use_trim, srv_use_trim,
|
||||||
PLUGIN_VAR_OPCMDARG,
|
PLUGIN_VAR_OPCMDARG,
|
||||||
"Use trim.",
|
"Use trim. Default FALSE.",
|
||||||
NULL, NULL, TRUE);
|
NULL, NULL, FALSE);
|
||||||
|
|
||||||
#ifdef HAVE_LZ4
|
#ifdef HAVE_LZ4
|
||||||
static MYSQL_SYSVAR_BOOL(use_lz4, srv_use_lz4,
|
static MYSQL_SYSVAR_BOOL(use_lz4, srv_use_lz4,
|
||||||
@@ -17973,8 +17973,8 @@ static MYSQL_SYSVAR_LONG(mtflush_threads, srv_mtflush_threads,
|
|||||||
|
|
||||||
static MYSQL_SYSVAR_BOOL(use_mtflush, srv_use_mtflush,
|
static MYSQL_SYSVAR_BOOL(use_mtflush, srv_use_mtflush,
|
||||||
PLUGIN_VAR_OPCMDARG ,
|
PLUGIN_VAR_OPCMDARG ,
|
||||||
"Use multi-threaded flush. Default TRUE.",
|
"Use multi-threaded flush. Default FALSE.",
|
||||||
NULL, NULL, TRUE);
|
NULL, NULL, FALSE);
|
||||||
|
|
||||||
static struct st_mysql_sys_var* innobase_system_variables[]= {
|
static struct st_mysql_sys_var* innobase_system_variables[]= {
|
||||||
MYSQL_SYSVAR(log_block_size),
|
MYSQL_SYSVAR(log_block_size),
|
||||||
|
@@ -170,7 +170,7 @@ level is set for the table*/
|
|||||||
UNIV_INTERN long srv_compress_zlib_level = 6;
|
UNIV_INTERN long srv_compress_zlib_level = 6;
|
||||||
/* If this flag is TRUE, then we will use fallocate(PUCH_HOLE)
|
/* If this flag is TRUE, then we will use fallocate(PUCH_HOLE)
|
||||||
to the pages */
|
to the pages */
|
||||||
UNIV_INTERN my_bool srv_use_trim = TRUE;
|
UNIV_INTERN my_bool srv_use_trim = FALSE;
|
||||||
/* If this flag is TRUE, then we will use posix fallocate for file extentsion */
|
/* If this flag is TRUE, then we will use posix fallocate for file extentsion */
|
||||||
UNIV_INTERN my_bool srv_use_posix_fallocate = FALSE;
|
UNIV_INTERN my_bool srv_use_posix_fallocate = FALSE;
|
||||||
/* If this flag is TRUE, then we disable doublewrite buffer */
|
/* If this flag is TRUE, then we disable doublewrite buffer */
|
||||||
@@ -180,7 +180,7 @@ UNIV_INTERN my_bool srv_use_lz4 = FALSE;
|
|||||||
/* Number of threads used for multi-threaded flush */
|
/* Number of threads used for multi-threaded flush */
|
||||||
UNIV_INTERN long srv_mtflush_threads = MTFLUSH_DEFAULT_WORKER;
|
UNIV_INTERN long srv_mtflush_threads = MTFLUSH_DEFAULT_WORKER;
|
||||||
/* If this flag is TRUE, then we will use multi threaded flush. */
|
/* If this flag is TRUE, then we will use multi threaded flush. */
|
||||||
UNIV_INTERN my_bool srv_use_mtflush = TRUE;
|
UNIV_INTERN my_bool srv_use_mtflush = FALSE;
|
||||||
|
|
||||||
#ifdef __WIN__
|
#ifdef __WIN__
|
||||||
/* Windows native condition variables. We use runtime loading / function
|
/* Windows native condition variables. We use runtime loading / function
|
||||||
|
Reference in New Issue
Block a user