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
43a50909
Commit
43a50909
authored
Nov 18, 2015
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-9051 mysqld got signal 11, after upgrade to 10.1.8
feedback plugin needs to set tables->select_lex properly
parent
72616298
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
mysql-test/suite/plugins/r/feedback_plugin_send.result
mysql-test/suite/plugins/r/feedback_plugin_send.result
+1
-0
mysql-test/suite/plugins/t/feedback_plugin_send.test
mysql-test/suite/plugins/t/feedback_plugin_send.test
+5
-1
plugin/feedback/sender_thread.cc
plugin/feedback/sender_thread.cc
+1
-0
No files found.
mysql-test/suite/plugins/r/feedback_plugin_send.result
View file @
43a50909
...
...
@@ -14,5 +14,6 @@ FEEDBACK_SEND_RETRY_WAIT 60
FEEDBACK_SEND_TIMEOUT 60
FEEDBACK_URL http://mariadb.org/feedback_plugin/post
FEEDBACK_USER_INFO mysql-test
set global sql_mode=ONLY_FULL_GROUP_BY;
6: feedback plugin: report to 'http://mariadb.org/feedback_plugin/post' was sent
6: feedback plugin: server replied 'ok'
mysql-test/suite/plugins/t/feedback_plugin_send.test
View file @
43a50909
...
...
@@ -13,7 +13,11 @@ if (!$MTR_FEEDBACK_PLUGIN) {
# Let's wait, and hope that mtr is started with --parallel and
# is doing some work in other workers.
#
sleep
310
;
sleep
100
;
set
global
sql_mode
=
ONLY_FULL_GROUP_BY
;
sleep
210
;
# The test expects that the plugin will send a report at least 2 times,
# now (5 min after loading) and on server shutdown which happens below.
...
...
plugin/feedback/sender_thread.cc
View file @
43a50909
...
...
@@ -124,6 +124,7 @@ static int prepare_for_fill(TABLE_LIST *tables)
if
(
!
tables
->
table
)
return
1
;
tables
->
select_lex
=
thd
->
lex
->
current_select
;
tables
->
table
->
pos_in_table_list
=
tables
;
return
0
;
...
...
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