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
2f90221a
Commit
2f90221a
authored
May 21, 2014
by
Nirbhay Choubey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a segfault issue by initializing thd's
system_thread_info in wsrep applier threads, introduced by MDEV#6156.
parent
086af836
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
sql/mysqld.cc
sql/mysqld.cc
+2
-0
No files found.
sql/mysqld.cc
View file @
2f90221a
...
...
@@ -5260,6 +5260,7 @@ typedef void (*wsrep_thd_processor_fun)(THD *);
pthread_handler_t
start_wsrep_THD
(
void
*
arg
)
{
THD
*
thd
;
rpl_sql_thread_info
sql_info
(
NULL
);
wsrep_thd_processor_fun
processor
=
(
wsrep_thd_processor_fun
)
arg
;
if
(
my_thread_init
())
...
...
@@ -5290,6 +5291,7 @@ pthread_handler_t start_wsrep_THD(void *arg)
thd
->
bootstrap
=
1
;
thd
->
max_client_packet_length
=
thd
->
net
.
max_packet
;
thd
->
security_ctx
->
master_access
=
~
(
ulong
)
0
;
thd
->
system_thread_info
.
rpl_sql_info
=
&
sql_info
;
/* from handle_one_connection... */
pthread_detach_this_thread
();
...
...
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