summaryrefslogtreecommitdiff
path: root/plugin/feedback/sender_thread.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-11-18 10:58:51 +0100
committerSergei Golubchik <serg@mariadb.org>2015-11-18 11:23:15 +0100
commit726162989bdffca6af4a83c018a7d8eafeb82e6f (patch)
tree9224263a1d21f20631367f287fc7af7307ccc235 /plugin/feedback/sender_thread.cc
parente669a5fd87b28158cbb4454b4bcce7fe4a4ef8b8 (diff)
downloadmariadb-git-726162989bdffca6af4a83c018a7d8eafeb82e6f.tar.gz
feedback plugin debug
make it possible to change feedback plugin wait intervals * only in debug builds * and force the feedback report to be ignored update the test to use this feature
Diffstat (limited to 'plugin/feedback/sender_thread.cc')
-rw-r--r--plugin/feedback/sender_thread.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/feedback/sender_thread.cc b/plugin/feedback/sender_thread.cc
index 4ab45998484..abc3d0a18e6 100644
--- a/plugin/feedback/sender_thread.cc
+++ b/plugin/feedback/sender_thread.cc
@@ -25,9 +25,9 @@ static my_thread_id thd_thread_id; ///< its thread_id
static size_t needed_size= 20480;
-static const time_t startup_interval= 60*5; ///< in seconds (5 minutes)
-static const time_t first_interval= 60*60*24; ///< in seconds (one day)
-static const time_t interval= 60*60*24*7; ///< in seconds (one week)
+time_t startup_interval= 60*5; ///< in seconds (5 minutes)
+time_t first_interval= 60*60*24; ///< in seconds (one day)
+time_t interval= 60*60*24*7; ///< in seconds (one week)
/**
reads the rows from a table and puts them, concatenated, in a String