diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-11-18 10:58:51 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-11-18 11:23:15 +0100 |
commit | 726162989bdffca6af4a83c018a7d8eafeb82e6f (patch) | |
tree | 9224263a1d21f20631367f287fc7af7307ccc235 /plugin/feedback/sender_thread.cc | |
parent | e669a5fd87b28158cbb4454b4bcce7fe4a4ef8b8 (diff) | |
download | mariadb-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.cc | 6 |
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 |