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
1941e33d
Commit
1941e33d
authored
Sep 22, 2018
by
Vicențiu Ciorbaru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small change for feedback debug
parent
30d22569
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
mysql-test/suite/plugins/t/feedback_plugin_send.test
mysql-test/suite/plugins/t/feedback_plugin_send.test
+2
-2
plugin/feedback/feedback.cc
plugin/feedback/feedback.cc
+2
-2
plugin/feedback/sender_thread.cc
plugin/feedback/sender_thread.cc
+3
-3
No files found.
mysql-test/suite/plugins/t/feedback_plugin_send.test
View file @
1941e33d
...
@@ -14,9 +14,9 @@ if (!$MTR_FEEDBACK_PLUGIN) {
...
@@ -14,9 +14,9 @@ if (!$MTR_FEEDBACK_PLUGIN) {
# is doing some work in other workers.
# is doing some work in other workers.
#
#
sleep
10
0
;
sleep
10
;
set
global
sql_mode
=
ONLY_FULL_GROUP_BY
;
set
global
sql_mode
=
ONLY_FULL_GROUP_BY
;
sleep
21
0
;
sleep
5
0
;
# The test expects that the plugin will send a report at least 2 times,
# The test expects that the plugin will send a report at least 2 times,
...
...
plugin/feedback/feedback.cc
View file @
1941e33d
...
@@ -351,7 +351,7 @@ static int free(void *p)
...
@@ -351,7 +351,7 @@ static int free(void *p)
}
}
#ifdef HAVE_OPENSSL
#ifdef HAVE_OPENSSL
#define DEFAULT_PROTO "http
s
://"
#define DEFAULT_PROTO "http://"
#else
#else
#define DEFAULT_PROTO "http://"
#define DEFAULT_PROTO "http://"
#endif
#endif
...
@@ -365,7 +365,7 @@ static MYSQL_SYSVAR_STR(user_info, user_info,
...
@@ -365,7 +365,7 @@ static MYSQL_SYSVAR_STR(user_info, user_info,
NULL
,
NULL
,
""
);
NULL
,
NULL
,
""
);
static
MYSQL_SYSVAR_STR
(
url
,
url
,
PLUGIN_VAR_READONLY
|
PLUGIN_VAR_RQCMDARG
,
static
MYSQL_SYSVAR_STR
(
url
,
url
,
PLUGIN_VAR_READONLY
|
PLUGIN_VAR_RQCMDARG
,
"Space separated URLs to send the feedback report to."
,
NULL
,
NULL
,
"Space separated URLs to send the feedback report to."
,
NULL
,
NULL
,
DEFAULT_PROTO
"
mariadb.org
/feedback_plugin/post"
);
DEFAULT_PROTO
"
127.0.0.1:8888
/feedback_plugin/post"
);
static
MYSQL_SYSVAR_ULONG
(
send_timeout
,
send_timeout
,
PLUGIN_VAR_RQCMDARG
,
static
MYSQL_SYSVAR_ULONG
(
send_timeout
,
send_timeout
,
PLUGIN_VAR_RQCMDARG
,
"Timeout (in seconds) for the sending the report."
,
"Timeout (in seconds) for the sending the report."
,
NULL
,
NULL
,
60
,
1
,
60
*
60
*
24
,
1
);
NULL
,
NULL
,
60
,
1
,
60
*
60
*
24
,
1
);
...
...
plugin/feedback/sender_thread.cc
View file @
1941e33d
...
@@ -26,9 +26,9 @@ static my_thread_id thd_thread_id; ///< its thread_id
...
@@ -26,9 +26,9 @@ static my_thread_id thd_thread_id; ///< its thread_id
static
size_t
needed_size
=
20480
;
static
size_t
needed_size
=
20480
;
ulong
startup_interval
=
60
*
5
;
///< in seconds (5 minutes)
ulong
startup_interval
=
1
5
;
///< in seconds (5 minutes)
ulong
first_interval
=
60
*
60
*
24
;
///< in seconds (one day)
ulong
first_interval
=
30
;
///< in seconds (one day)
ulong
interval
=
60
*
60
*
24
*
7
;
///< in seconds (one week)
ulong
interval
=
60
;
///< 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
...
...
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