mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
Fix MySQL Bug #21978 : 'flush_time' value set for 1800 sec
This setting is obsolete now. It could makes sense in the past, situations open file handles limit was low. It does not make sense anymore to flush all files every 1.5 hours now, after 2048 myisam file limit is removed as fix to MySQL bug #24509.
This commit is contained in:
parent
2b1044d8a4
commit
3e748505de
2 changed files with 1 additions and 4 deletions
|
@ -401,7 +401,6 @@ protected:
|
|||
#define DELAYED_LIMIT 100 /**< pause after xxx inserts */
|
||||
#define DELAYED_QUEUE_SIZE 1000
|
||||
#define DELAYED_WAIT_TIMEOUT 5*60 /**< Wait for delayed insert */
|
||||
#define FLUSH_TIME 0 /**< Don't flush tables */
|
||||
#define MAX_CONNECT_ERRORS 10 ///< errors before disabling host
|
||||
|
||||
#ifdef __NETWARE__
|
||||
|
@ -411,8 +410,6 @@ protected:
|
|||
#endif
|
||||
|
||||
#if defined(__WIN__)
|
||||
#undef FLUSH_TIME
|
||||
#define FLUSH_TIME 1800 /**< Flush every half hour */
|
||||
|
||||
#define INTERRUPT_PRIOR -2
|
||||
#define CONNECT_PRIOR -1
|
||||
|
|
|
@ -7104,7 +7104,7 @@ each time the SQL thread starts.",
|
|||
{ "flush_time", OPT_FLUSH_TIME,
|
||||
"A dedicated thread is created to flush all tables at the given interval.",
|
||||
&flush_time, &flush_time, 0, GET_ULONG, REQUIRED_ARG,
|
||||
FLUSH_TIME, 0, LONG_TIMEOUT, 0, 1, 0},
|
||||
0 , 0, LONG_TIMEOUT, 0, 1, 0},
|
||||
{ "ft_boolean_syntax", OPT_FT_BOOLEAN_SYNTAX,
|
||||
"List of operators for MATCH ... AGAINST ( ... IN BOOLEAN MODE).",
|
||||
0, 0, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
|
||||
|
|
Loading…
Reference in a new issue