Subquery cache causes valgrind warnings
Bug #606013 reported by
Sergey Petrunia
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
High
|
Oleksandr "Sanja" Byelkin |
Bug Description
Subquery cache causes valgrind warnings, see:
http://
The failing tests are: main.subquery_cache main.subselect_mat (partition.test failure is a separate issue)
Changed in maria: | |
assignee: | nobody → Oleksandr "Sanja" Byelkin (sanja-byelkin) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in maria: | |
milestone: | none → 5.3 |
Changed in maria: | |
status: | In Progress → Fix Committed |
Changed in maria: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The warnings look like this:
main.subquery_cache w2 [ fail ] Found warnings/errors in server log file! :index_ read_map( unsigned char*, unsigned char const*, unsigned long, ha_rkey_function) (ha_heap.cc:279) key2(THD* , st_join_table*, st_table*, st_table_ref*) (sql_class.h:3393) cache_tmptable: :check_ value(Item* *) (sql_expression _cache. cc:248) wrapper: :val_bool( ) (item.cc:6710) not::val_ int() (item_cmpfunc. cc:287) join_record( JOIN*, st_join_table*, int) (sql_select. cc:13197) cc:13142) cc:12649) cc:2355) lex_unit* , st_select_lex*) (sql_select. cc:2556) sqlcom_ select( THD*, TABLE_LIST*) (sql_parse.cc:5081) command( THD*) (sql_parse.cc:2265) :write_ row(unsigned char*) (ha_heap.cc:224) :ha_write_ row(unsigned char*) (handler.cc:4715) cache_tmptable: :put_value( Item*) (sql_expression _cache. cc:294) wrapper: :val_bool( ) (item.cc:6726) not::val_ int() (item_cmpfunc. cc:287) join_record( JOIN*, st_join_table*, int) (sql_select. cc:13197) cc:13142) cc:12649) cc:2355) lex_unit* , st_select_lex*) (sql_select. cc:2556)
Test ended at 2010-07-15 18:44:58
line
==17469== Thread 4:
==17469== Conditional jump or move depends on uninitialised value(s)
==17469== at 0x8B141F: hp_search (hp_hash.c:213)
==17469== by 0x8B51DA: heap_rkey (hp_rkey.c:61)
==17469== by 0x8AED92: ha_heap:
==17469== by 0x6D90B5: join_read_
==17469== by 0x8468EA: Expression_
==17469== by 0x579804: Item_cache_
==17469== by 0x5B5EC1: Item_func_
==17469== by 0x6CC522: evaluate_
==17469== by 0x6CC95D: sub_select(JOIN*, st_join_table*, bool) (sql_select.
==17469== by 0x6E832C: do_select(JOIN*, List<Item>*, st_table*, Procedure*) (sql_select.
==17469== by 0x6E94C0: JOIN::exec() (sql_select.
==17469== by 0x6EAC59: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_
==17469== by 0x6EF418: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:276)
==17469== by 0x65F882: execute_
==17469== by 0x666FFD: mysql_execute_
==17469== by 0x66BB8F: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:6027)
==17469== Conditional jump or move depends on uninitialised value(s)
==17469== at 0x8AFD4E: hp_mask (hp_hash.c:213)
==17469== by 0x8B29DA: hp_write_key (hp_write.c:236)
==17469== by 0x8B2D85: heap_write (hp_write.c:51)
==17469== by 0x8AEF28: ha_heap:
==17469== by 0x78D798: handler:
==17469== by 0x845CC4: Expression_
==17469== by 0x579852: Item_cache_
==17469== by 0x5B5EC1: Item_func_
==17469== by 0x6CC522: evaluate_
==17469== by 0x6CC95D: sub_select(JOIN*, st_join_table*, bool) (sql_select.
==17469== by 0x6E832C: do_select(JOIN*, List<Item>*, st_table*, Procedure*) (sql_select.
==17469== by 0x6E94C0: JOIN::exec() (sql_select.
==17469== by 0x6EAC59: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_
==17469== by 0x6EF418: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:276)
==17469== by 0x65F882: execute_sqlcom...