Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
99774f15
Commit
99774f15
authored
Dec 06, 2015
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feedback plugin compilation warnings
parent
8fd24b41
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
plugin/feedback/feedback.cc
plugin/feedback/feedback.cc
+1
-1
plugin/feedback/feedback.h
plugin/feedback/feedback.h
+3
-3
plugin/feedback/sender_thread.cc
plugin/feedback/sender_thread.cc
+3
-3
No files found.
plugin/feedback/feedback.cc
View file @
99774f15
...
...
@@ -261,7 +261,7 @@ static int init(void *p)
startup_interval
=
debug_startup_interval
;
first_interval
=
debug_first_interval
;
interval
=
debug_interval
;
user_info
=
"mysql-test"
;
user_info
=
const_cast
<
char
*>
(
"mysql-test"
)
;
}
#endif
...
...
plugin/feedback/feedback.h
View file @
99774f15
...
...
@@ -58,9 +58,9 @@ class Url {
extern
Url
**
urls
;
extern
uint
url_count
;
extern
time_t
startup_interval
;
extern
time_t
first_interval
;
extern
time_t
interval
;
extern
ulong
startup_interval
;
extern
ulong
first_interval
;
extern
ulong
interval
;
/* these are used to communicate with the background thread */
extern
mysql_mutex_t
sleep_mutex
;
...
...
plugin/feedback/sender_thread.cc
View file @
99774f15
...
...
@@ -25,9 +25,9 @@ static my_thread_id thd_thread_id; ///< its thread_id
static
size_t
needed_size
=
20480
;
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)
ulong
startup_interval
=
60
*
5
;
///< in seconds (5 minutes)
ulong
first_interval
=
60
*
60
*
24
;
///< in seconds (one day)
ulong
interval
=
60
*
60
*
24
*
7
;
///< in seconds (one week)
/**
reads the rows from a table and puts them, concatenated, in a String
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment