mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
refs codership/galera#308
- Moves call wsrep_free_status() to THD::cleanup_after_query(). Wsrep status variables were previously freed only on SHOW STATUS. - Removes valgrind suppression from mysql-test/valgrind.
This commit is contained in:
committed by
Nirbhay Choubey
parent
00b058aca3
commit
0ec457b0de
@@ -1283,28 +1283,6 @@
|
|||||||
fun:dlopen@@GLIBC_2.2.5
|
fun:dlopen@@GLIBC_2.2.5
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
|
||||||
GitHub codership/galera#308
|
|
||||||
Memcheck:Leak
|
|
||||||
match-leak-kinds: definite
|
|
||||||
fun:malloc
|
|
||||||
fun:_ZNK6galera13ReplicatorSMM9stats_getEv
|
|
||||||
fun:_ZL28export_wsrep_status_to_mysqlP3THD
|
|
||||||
fun:_Z17wsrep_show_statusP3THDP17st_mysql_show_varPc
|
|
||||||
fun:_ZL17show_status_arrayP3THDPKcP17st_mysql_show_var13enum_var_typeP17system_status_varS2_P5TABLEbP4Item
|
|
||||||
fun:_Z11fill_statusP3THDP10TABLE_LISTP4Item
|
|
||||||
fun:_ZL13do_fill_tableP3THDP10TABLE_LISTP13st_join_table
|
|
||||||
fun:_Z24get_schema_tables_resultP4JOIN23enum_schema_table_state
|
|
||||||
fun:_ZN4JOIN14prepare_resultEPP4ListI4ItemE
|
|
||||||
fun:_ZN4JOIN4execEv
|
|
||||||
fun:_ZL20mysql_execute_selectP3THDP13st_select_lexb
|
|
||||||
fun:_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_P10SQL_I_ListI8st_orderESB_S7_yP13select_resultP18st_select_lex_unitP13st_select_lex
|
|
||||||
fun:_Z13handle_selectP3THDP13select_resultm
|
|
||||||
fun:_ZL21execute_sqlcom_selectP3THDP10TABLE_LIST
|
|
||||||
fun:_Z21mysql_execute_commandP3THD
|
|
||||||
fun:_Z11mysql_parseP3THDPcjP12Parser_state
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
{
|
||||||
GitHub codership/mysql-wsrep#176
|
GitHub codership/mysql-wsrep#176
|
||||||
Memcheck:Leak
|
Memcheck:Leak
|
||||||
|
@@ -2361,6 +2361,10 @@ void THD::cleanup_after_query()
|
|||||||
rgi_slave->cleanup_after_query();
|
rgi_slave->cleanup_after_query();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef WITH_WSREP
|
||||||
|
wsrep_free_status(this);
|
||||||
|
#endif /* WITH_WSREP */
|
||||||
|
|
||||||
DBUG_VOID_RETURN;
|
DBUG_VOID_RETURN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -2774,9 +2774,6 @@ mysql_execute_command(THD *thd)
|
|||||||
case SQLCOM_SHOW_STATUS:
|
case SQLCOM_SHOW_STATUS:
|
||||||
{
|
{
|
||||||
execute_show_status(thd, all_tables);
|
execute_show_status(thd, all_tables);
|
||||||
#ifdef WITH_WSREP
|
|
||||||
wsrep_free_status(thd);
|
|
||||||
#endif /* WITH_WSREP */
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case SQLCOM_SHOW_EXPLAIN:
|
case SQLCOM_SHOW_EXPLAIN:
|
||||||
|
Reference in New Issue
Block a user