Commit 99774f15 authored by Sergei Golubchik's avatar Sergei Golubchik

feedback plugin compilation warnings

parent 8fd24b41
...@@ -261,7 +261,7 @@ static int init(void *p) ...@@ -261,7 +261,7 @@ static int init(void *p)
startup_interval= debug_startup_interval; startup_interval= debug_startup_interval;
first_interval= debug_first_interval; first_interval= debug_first_interval;
interval= debug_interval; interval= debug_interval;
user_info= "mysql-test"; user_info= const_cast<char*>("mysql-test");
} }
#endif #endif
......
...@@ -58,9 +58,9 @@ class Url { ...@@ -58,9 +58,9 @@ class Url {
extern Url **urls; extern Url **urls;
extern uint url_count; extern uint url_count;
extern time_t startup_interval; extern ulong startup_interval;
extern time_t first_interval; extern ulong first_interval;
extern time_t interval; extern ulong interval;
/* these are used to communicate with the background thread */ /* these are used to communicate with the background thread */
extern mysql_mutex_t sleep_mutex; extern mysql_mutex_t sleep_mutex;
......
...@@ -25,9 +25,9 @@ static my_thread_id thd_thread_id; ///< its thread_id ...@@ -25,9 +25,9 @@ static my_thread_id thd_thread_id; ///< its thread_id
static size_t needed_size= 20480; static size_t needed_size= 20480;
time_t startup_interval= 60*5; ///< in seconds (5 minutes) ulong startup_interval= 60*5; ///< in seconds (5 minutes)
time_t first_interval= 60*60*24; ///< in seconds (one day) ulong first_interval= 60*60*24; ///< in seconds (one day)
time_t interval= 60*60*24*7; ///< in seconds (one week) ulong interval= 60*60*24*7; ///< in seconds (one week)
/** /**
reads the rows from a table and puts them, concatenated, in a String reads the rows from a table and puts them, concatenated, in a String
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment