summaryrefslogtreecommitdiff
path: root/sql/mysql_priv.h
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2011-06-16 14:51:50 +0200
committerVladislav Vaintroub <wlad@montyprogram.com>2011-06-16 14:51:50 +0200
commit3e748505de096195821ece6018187b82e1b979c1 (patch)
tree8ab0a6f4f3bc691738b016bba8914df568f9f211 /sql/mysql_priv.h
parent2b1044d8a4d3d71e9ed03e89b17cd63f3e525b1d (diff)
downloadmariadb-git-3e748505de096195821ece6018187b82e1b979c1.tar.gz
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.
Diffstat (limited to 'sql/mysql_priv.h')
-rw-r--r--sql/mysql_priv.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h
index bd2f31fbe1d..db1c385c992 100644
--- a/sql/mysql_priv.h
+++ b/sql/mysql_priv.h
@@ -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