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
023131e3
Commit
023131e3
authored
Aug 11, 2017
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InnoDB: restore thd->proc_info in innobase_reset_background_thd()
parent
dd67456a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
mysql-test/suite/innodb/r/purge_thread_shutdown.result
mysql-test/suite/innodb/r/purge_thread_shutdown.result
+4
-4
storage/innobase/handler/ha_innodb.cc
storage/innobase/handler/ha_innodb.cc
+2
-1
No files found.
mysql-test/suite/innodb/r/purge_thread_shutdown.result
View file @
023131e3
...
...
@@ -3,11 +3,11 @@ insert t1 values (1),(2),(3),(4);
delete from t1 where a=1;
select user,state from information_schema.processlist order by 2;
user state
system user
system user
system user
system user
root Filling schema table
system user InnoDB purge coordinator
system user InnoDB purge worker
system user InnoDB purge worker
system user InnoDB purge worker
system user InnoDB shutdown handler
set global debug_dbug='+d,only_kill_system_threads';
connect con1, localhost, root;
...
...
storage/innobase/handler/ha_innodb.cc
View file @
023131e3
...
...
@@ -1746,8 +1746,9 @@ innobase_reset_background_thd(MYSQL_THD thd)
ut_ad
(
THDVAR
(
thd
,
background_thread
));
/* background purge thread */
const
char
*
proc_info
=
thd_proc_info
(
thd
,
"reset"
);
reset_thd
(
thd
);
thd_proc_info
(
thd
,
""
);
thd_proc_info
(
thd
,
proc_info
);
}
...
...
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