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
92162e6d
Commit
92162e6d
authored
May 18, 2016
by
Daniele Sciascia
Committed by
Nirbhay Choubey
Aug 21, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MW-175 Fix definitively lost memory in wsrep_get_params
parent
137af55c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
111 deletions
+2
-111
mysql-test/valgrind.supp
mysql-test/valgrind.supp
+0
-110
sql/wsrep_var.cc
sql/wsrep_var.cc
+1
-0
wsrep/wsrep_dummy.c
wsrep/wsrep_dummy.c
+1
-1
No files found.
mysql-test/valgrind.supp
View file @
92162e6d
...
...
@@ -1228,25 +1228,6 @@
fun:dlopen@@GLIBC_2.2.5
}
{
GitHub codership/mysql-wsrep#176
Memcheck:Leak
fun:_Z16wsrep_get_paramsRKN6galera10ReplicatorE
fun:galera_parameters_get
fun:_ZL24refresh_provider_optionsv
fun:_Z29wsrep_provider_options_updateP7sys_varP3THD13enum_var_type
fun:_ZN7sys_var6updateEP3THDP7set_var
fun:_ZN7set_var6updateEP3THD
fun:_Z17sql_set_variablesP3THDP4ListI12set_var_baseE
fun:_Z21mysql_execute_commandP3THD
fun:_Z11mysql_parseP3THDPcjP12Parser_state
fun:_ZL17wsrep_mysql_parseP3THDPcjP12Parser_state
fun:_Z16dispatch_command19enum_server_commandP3THDPcj
fun:_Z10do_commandP3THD
fun:_Z24do_handle_one_connectionP3THD
fun:handle_one_connection
}
{
GitHub codership/galera#330
Memcheck:Leak
...
...
@@ -1340,31 +1321,6 @@ g codership/mysql-wsrep/issues#176
fun:_Z16wsrep_set_paramsRN6galera10ReplicatorEPKc
}
{
codership/mysql-wsrep/issues#176
Memcheck:Leak
fun:_Z16wsrep_get_paramsRKN6galera10ReplicatorE
}
{
codership/mysql-wsrep/issues#176
Memcheck:Leak
fun:_Z16wsrep_get_paramsRKN6galera10ReplicatorE
fun:galera_parameters_get
fun:_ZL24refresh_provider_optionsv
fun:_Z21wsrep_provider_updateP7sys_varP3THD13enum_var_type
fun:_ZN7sys_var6updateEP3THDP7set_var
fun:_ZN7set_var6updateEP3THD
fun:_Z17sql_set_variablesP3THDP4ListI12set_var_baseE
fun:_Z21mysql_execute_commandP3THD
fun:_Z11mysql_parseP3THDPcjP12Parser_state
fun:_ZL17wsrep_mysql_parseP3THDPcjP12Parser_state
fun:_Z16dispatch_command19enum_server_commandP3THDPcj
fun:_Z10do_commandP3THD
fun:_Z24do_handle_one_connectionP3THD
fun:handle_one_connection
}
{
codership/mysql-wsrep/issues#176
Memcheck:Leak
...
...
@@ -1475,72 +1431,6 @@ g codership/mysql-wsrep/issues#176
fun:_Z24do_handle_one_connectionP3THD
}
{
codership/mysql-wsrep/issues#176
Memcheck:Leak
match-leak-kinds: possible
fun:malloc
fun:strdup
fun:_Z16wsrep_get_paramsRKN6galera10ReplicatorE
fun:galera_parameters_get
fun:_ZL24refresh_provider_optionsv
fun:_Z29wsrep_provider_options_updateP7sys_varP3THD13enum_var_type
fun:_ZN7sys_var6updateEP3THDP7set_var
fun:_ZN7set_var6updateEP3THD
fun:_Z17sql_set_variablesP3THDP4ListI12set_var_baseE
fun:_Z21mysql_execute_commandP3THD
fun:_Z11mysql_parseP3THDPcjP12Parser_state
fun:_ZL17wsrep_mysql_parseP3THDPcjP12Parser_state
fun:_Z16dispatch_command19enum_server_commandP3THDPcj
fun:_Z10do_commandP3THD
fun:_Z24do_handle_one_connectionP3THD
fun:handle_one_connection
}
{
codership/mysql-wsrep/issues#176
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:strdup
fun:_Z16wsrep_get_paramsRKN6galera10ReplicatorE
fun:galera_parameters_get
fun:_ZL24refresh_provider_optionsv
fun:_Z29wsrep_provider_options_updateP7sys_varP3THD13enum_var_type
fun:_ZN7sys_var6updateEP3THDP7set_var
fun:_ZN7set_var6updateEP3THD
fun:_Z17sql_set_variablesP3THDP4ListI12set_var_baseE
fun:_Z21mysql_execute_commandP3THD
fun:_Z11mysql_parseP3THDPcjP12Parser_state
fun:_ZL17wsrep_mysql_parseP3THDPcjP12Parser_state
fun:_Z16dispatch_command19enum_server_commandP3THDPcj
fun:_Z10do_commandP3THD
fun:_Z24do_handle_one_connectionP3THD
fun:handle_one_connection
}
{
codership/mysql-wsrep/issues#176
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:strdup
fun:_Z16wsrep_get_paramsRKN6galera10ReplicatorE
fun:galera_parameters_get
fun:_ZL24refresh_provider_optionsv
fun:_Z21wsrep_provider_updateP7sys_varP3THD13enum_var_type
fun:_ZN7sys_var6updateEP3THDP7set_var
fun:_ZN7set_var6updateEP3THD
fun:_Z17sql_set_variablesP3THDP4ListI12set_var_baseE
fun:_Z21mysql_execute_commandP3THD
fun:_Z11mysql_parseP3THDPcjP12Parser_state
fun:_ZL17wsrep_mysql_parseP3THDPcjP12Parser_state
fun:_Z16dispatch_command19enum_server_commandP3THDPcj
fun:_Z10do_commandP3THD
fun:_Z24do_handle_one_connectionP3THD
fun:handle_one_connection
}
{
codership/galera#331
Memcheck:Leak
...
...
sql/wsrep_var.cc
View file @
92162e6d
...
...
@@ -216,6 +216,7 @@ static bool refresh_provider_options()
get_provider_option_value
(
wsrep_provider_options
,
(
char
*
)
"repl.max_ws_size"
,
&
wsrep_max_ws_size
);
free
(
opts
);
}
else
{
...
...
wsrep/wsrep_dummy.c
View file @
92162e6d
...
...
@@ -86,7 +86,7 @@ static wsrep_status_t dummy_options_set(
static
char
*
dummy_options_get
(
wsrep_t
*
w
)
{
WSREP_DBUG_ENTER
(
w
);
return
WSREP_DUMMY
(
w
)
->
options
;
return
strdup
(
WSREP_DUMMY
(
w
)
->
options
)
;
}
static
wsrep_status_t
dummy_connect
(
...
...
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