Loading mysql-test/valgrind.supp +9 −0 Original line number Diff line number Diff line Loading @@ -444,6 +444,15 @@ fun:_dl_open } { libc pthread_exit 8 Memcheck:Leak fun:malloc fun:local_strdup fun:_dl_map_object fun:dl_open_worker } # # This is seen internally in the system libraries on 64-bit RHAS3. # Loading sql/item_func.cc +4 −4 Original line number Diff line number Diff line Loading @@ -4935,7 +4935,7 @@ longlong Item_func_get_system_var::val_int() { THD *thd= current_thd; if (thd->query_id == used_query_id) if (cache_present && thd->query_id == used_query_id) { if (cache_present & GET_SYS_VAR_CACHE_LONG) { Loading Loading @@ -5011,7 +5011,7 @@ String* Item_func_get_system_var::val_str(String* str) { THD *thd= current_thd; if (thd->query_id == used_query_id) if (cache_present && thd->query_id == used_query_id) { if (cache_present & GET_SYS_VAR_CACHE_STRING) { Loading Loading @@ -5091,7 +5091,7 @@ double Item_func_get_system_var::val_real() { THD *thd= current_thd; if (thd->query_id == used_query_id) if (cache_present && thd->query_id == used_query_id) { if (cache_present & GET_SYS_VAR_CACHE_DOUBLE) { Loading Loading @@ -5189,7 +5189,7 @@ bool Item_func_get_system_var::eq(const Item *item, bool binary_cmp) const void Item_func_get_system_var::cleanup() { Item_func::cleanup(); cache_present= NULL; cache_present= 0; var_type= orig_var_type; cached_strval.free(); } Loading Loading
mysql-test/valgrind.supp +9 −0 Original line number Diff line number Diff line Loading @@ -444,6 +444,15 @@ fun:_dl_open } { libc pthread_exit 8 Memcheck:Leak fun:malloc fun:local_strdup fun:_dl_map_object fun:dl_open_worker } # # This is seen internally in the system libraries on 64-bit RHAS3. # Loading
sql/item_func.cc +4 −4 Original line number Diff line number Diff line Loading @@ -4935,7 +4935,7 @@ longlong Item_func_get_system_var::val_int() { THD *thd= current_thd; if (thd->query_id == used_query_id) if (cache_present && thd->query_id == used_query_id) { if (cache_present & GET_SYS_VAR_CACHE_LONG) { Loading Loading @@ -5011,7 +5011,7 @@ String* Item_func_get_system_var::val_str(String* str) { THD *thd= current_thd; if (thd->query_id == used_query_id) if (cache_present && thd->query_id == used_query_id) { if (cache_present & GET_SYS_VAR_CACHE_STRING) { Loading Loading @@ -5091,7 +5091,7 @@ double Item_func_get_system_var::val_real() { THD *thd= current_thd; if (thd->query_id == used_query_id) if (cache_present && thd->query_id == used_query_id) { if (cache_present & GET_SYS_VAR_CACHE_DOUBLE) { Loading Loading @@ -5189,7 +5189,7 @@ bool Item_func_get_system_var::eq(const Item *item, bool binary_cmp) const void Item_func_get_system_var::cleanup() { Item_func::cleanup(); cache_present= NULL; cache_present= 0; var_type= orig_var_type; cached_strval.free(); } Loading