|
The bug still exists on the following revision:
revision-id: igor@askmonty.org-20130430033140-qhx9wsgc5w2dx14r
date: 2013-04-29 20:31:40 -0700
build-date: 2013-04-30 23:45:52 +0400
revno: 3653
branch-nick: 5.3
Valgrind errors from this revision:
==20182== Thread 4:
==20182== Conditional jump or move depends on uninitialised value(s)
==20182== at 0x5DAE21: Item_equal::contains(Field*) (item_cmpfunc.cc:5560)
==20182== by 0x588B7E: Item_field::find_item_equal(COND_EQUAL*) (item.cc:4881)
==20182== by 0x729E5A: eliminate_item_equal(Item*, COND_EQUAL*, Item_equal*) (sql_select.cc:11845)
==20182== by 0x72A7CE: substitute_for_best_equal_field(st_join_table*, Item*, COND_EQUAL*, void*) (sql_select.cc:12136)
==20182== by 0x72A4B5: substitute_for_best_equal_field(st_join_table*, Item*, COND_EQUAL*, void*) (sql_select.cc:12063)
==20182== by 0x72A4B5: substitute_for_best_equal_field(st_join_table*, Item*, COND_EQUAL*, void*) (sql_select.cc:12063)
==20182== by 0x70DF46: JOIN::optimize() (sql_select.cc:1237)
==20182== by 0x7144E6: 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_lex_unit*, st_select_lex*) (sql_select.cc:2976)
==20182== by 0x70AF26: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:288)
==20182== by 0x6963DE: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5172)
==20182== by 0x68D19D: mysql_execute_command(THD*) (sql_parse.cc:2305)
==20182== by 0x698E58: mysql_parse(THD*, char*, unsigned int, char const**) (sql_parse.cc:6173)
==20182== by 0x68A941: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1243)
==20182== by 0x689BDF: do_command(THD*) (sql_parse.cc:923)
==20182== by 0x68663A: handle_one_connection (sql_connect.cc:1231)
==20182== by 0x548DE99: start_thread (pthread_create.c:308)
==20182== Use of uninitialised value of size 8
==20182== at 0x5DF48E: Item_equal_iterator<List_iterator_fast, Item>::get_curr_field() (item_cmpfunc.h:1856)
==20182== by 0x5DADED: Item_equal::contains(Field*) (item_cmpfunc.cc:5562)
==20182== by 0x588B7E: Item_field::find_item_equal(COND_EQUAL*) (item.cc:4881)
==20182== by 0x729E5A: eliminate_item_equal(Item*, COND_EQUAL*, Item_equal*) (sql_select.cc:11845)
==20182== by 0x72A7CE: substitute_for_best_equal_field(st_join_table*, Item*, COND_EQUAL*, void*) (sql_select.cc:12136)
==20182== by 0x72A4B5: substitute_for_best_equal_field(st_join_table*, Item*, COND_EQUAL*, void*) (sql_select.cc:12063)
==20182== by 0x72A4B5: substitute_for_best_equal_field(st_join_table*, Item*, COND_EQUAL*, void*) (sql_select.cc:12063)
==20182== by 0x70DF46: JOIN::optimize() (sql_select.cc:1237)
==20182== by 0x7144E6: 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_lex_unit*, st_select_lex*) (sql_select.cc:2976)
==20182== by 0x70AF26: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:288)
==20182== by 0x6963DE: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5172)
==20182== by 0x68D19D: mysql_execute_command(THD*) (sql_parse.cc:2305)
==20182== by 0x698E58: mysql_parse(THD*, char*, unsigned int, char const**) (sql_parse.cc:6173)
==20182== by 0x68A941: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1243)
==20182== by 0x689BDF: do_command(THD*) (sql_parse.cc:923)
==20182== by 0x68663A: handle_one_connection (sql_connect.cc:1231)
==20182== Use of uninitialised value of size 8
==20182== at 0x5DF4AF: Item_equal_iterator<List_iterator_fast, Item>::get_curr_field() (item_cmpfunc.h:1857)
==20182== by 0x5DADED: Item_equal::contains(Field*) (item_cmpfunc.cc:5562)
==20182== by 0x588B7E: Item_field::find_item_equal(COND_EQUAL*) (item.cc:4881)
==20182== by 0x729E5A: eliminate_item_equal(Item*, COND_EQUAL*, Item_equal*) (sql_select.cc:11845)
==20182== by 0x72A7CE: substitute_for_best_equal_field(st_join_table*, Item*, COND_EQUAL*, void*) (sql_select.cc:12136)
==20182== by 0x72A4B5: substitute_for_best_equal_field(st_join_table*, Item*, COND_EQUAL*, void*) (sql_select.cc:12063)
==20182== by 0x72A4B5: substitute_for_best_equal_field(st_join_table*, Item*, COND_EQUAL*, void*) (sql_select.cc:12063)
==20182== by 0x70DF46: JOIN::optimize() (sql_select.cc:1237)
==20182== by 0x7144E6: 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_lex_unit*, st_select_lex*) (sql_select.cc:2976)
==20182== by 0x70AF26: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:288)
==20182== by 0x6963DE: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5172)
==20182== by 0x68D19D: mysql_execute_command(THD*) (sql_parse.cc:2305)
==20182== by 0x698E58: mysql_parse(THD*, char*, unsigned int, char const**) (sql_parse.cc:6173)
==20182== by 0x68A941: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1243)
==20182== by 0x689BDF: do_command(THD*) (sql_parse.cc:923)
==20182== by 0x68663A: handle_one_connection (sql_connect.cc:1231)
==20182== Use of uninitialised value of size 8
==20182== at 0x5664F7: base_list_iterator::next_fast() (sql_list.h:449)
==20182== by 0x56895C: List_iterator_fast<Item>::operator++(int) (sql_list.h:561)
==20182== by 0x5DF467: Item_equal_iterator<List_iterator_fast, Item>::operator++(int) (item_cmpfunc.h:1844)
==20182== by 0x5DAE18: Item_equal::contains(Field*) (item_cmpfunc.cc:5560)
==20182== by 0x588B7E: Item_field::find_item_equal(COND_EQUAL*) (item.cc:4881)
==20182== by 0x729E5A: eliminate_item_equal(Item*, COND_EQUAL*, Item_equal*) (sql_select.cc:11845)
==20182== by 0x72A7CE: substitute_for_best_equal_field(st_join_table*, Item*, COND_EQUAL*, void*) (sql_select.cc:12136)
==20182== by 0x72A4B5: substitute_for_best_equal_field(st_join_table*, Item*, COND_EQUAL*, void*) (sql_select.cc:12063)
==20182== by 0x72A4B5: substitute_for_best_equal_field(st_join_table*, Item*, COND_EQUAL*, void*) (sql_select.cc:12063)
==20182== by 0x70DF46: JOIN::optimize() (sql_select.cc:1237)
==20182== by 0x7144E6: 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_lex_unit*, st_select_lex*) (sql_select.cc:2976)
==20182== by 0x70AF26: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:288)
==20182== by 0x6963DE: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5172)
==20182== by 0x68D19D: mysql_execute_command(THD*) (sql_parse.cc:2305)
==20182== by 0x698E58: mysql_parse(THD*, char*, unsigned int, char const**) (sql_parse.cc:6173)
==20182== by 0x68A941: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1243)
|