==17722== ERROR SUMMARY: 287 errors from 287 contexts (suppressed: 26 from 11) ==17722== ==17722== 1 errors in context 1 of 287: ==17722== Thread 10: ==17722== Invalid read of size 4 ==17722== at 0x818ED7F: Item_bool_func2::fix_length_and_dec() (item_cmpfunc.cc:506) ==17722== by 0x8174AD4: Item_func::fix_fields(THD*, Item**) (item_func.cc:198) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x81B8AB7: subselect_single_select_engine::prepare() (item_subselect.cc:1760) ==17722== by 0x81B7B5B: Item_subselect::fix_fields(THD*, Item**) (item_subselect.cc:158) ==17722== by 0x81B7D0F: Item_in_subselect::fix_fields(THD*, Item**) (item_subselect.cc:1628) ==17722== by 0x8187CAA: Item_in_optimizer::fix_fields(THD*, Item**) (item_cmpfunc.cc:1526) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== Address 0x7c7ec58 is 5,088 bytes inside a block of size 8,164 free'd ==17722== at 0x40055AD: free (vg_replace_malloc.c:325) ==17722== by 0x84E2E81: my_no_flags_free (my_malloc.c:59) ==17722== by 0x84E3750: free_root (my_alloc.c:355) ==17722== by 0x837B989: sp_head::execute(THD*) (sp_head.cc:1269) ==17722== by 0x837C350: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1982) ==17722== by 0x820C993: mysql_execute_command(THD*) (sql_parse.cc:4352) ==17722== by 0x8210CB8: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5931) ==17722== by 0x8211EDF: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1213) ==17722== by 0x8212F98: do_command(THD*) (sql_parse.cc:854) ==17722== by 0x8201DC6: handle_one_connection (sql_connect.cc:1127) ==17722== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==17722== by 0x3D606D: clone (in /lib/libc-2.5.so) ==17722== ==17722== ==17722== 1 errors in context 2 of 287: ==17722== Invalid read of size 4 ==17722== at 0x818ED74: Item_bool_func2::fix_length_and_dec() (item_cmpfunc.cc:506) ==17722== by 0x8174AD4: Item_func::fix_fields(THD*, Item**) (item_func.cc:198) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x81B8AB7: subselect_single_select_engine::prepare() (item_subselect.cc:1760) ==17722== by 0x81B7B5B: Item_subselect::fix_fields(THD*, Item**) (item_subselect.cc:158) ==17722== by 0x81B7D0F: Item_in_subselect::fix_fields(THD*, Item**) (item_subselect.cc:1628) ==17722== by 0x8187CAA: Item_in_optimizer::fix_fields(THD*, Item**) (item_cmpfunc.cc:1526) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== Address 0x7c7ec58 is 5,088 bytes inside a block of size 8,164 free'd ==17722== at 0x40055AD: free (vg_replace_malloc.c:325) ==17722== by 0x84E2E81: my_no_flags_free (my_malloc.c:59) ==17722== by 0x84E3750: free_root (my_alloc.c:355) ==17722== by 0x837B989: sp_head::execute(THD*) (sp_head.cc:1269) ==17722== by 0x837C350: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1982) ==17722== by 0x820C993: mysql_execute_command(THD*) (sql_parse.cc:4352) ==17722== by 0x8210CB8: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5931) ==17722== by 0x8211EDF: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1213) ==17722== by 0x8212F98: do_command(THD*) (sql_parse.cc:854) ==17722== by 0x8201DC6: handle_one_connection (sql_connect.cc:1127) ==17722== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==17722== by 0x3D606D: clone (in /lib/libc-2.5.so) ==17722== ==17722== ==17722== 1 errors in context 3 of 287: ==17722== Invalid write of size 4 ==17722== at 0x818EE9E: Item_bool_func2::fix_length_and_dec() (item_cmpfunc.cc:478) ==17722== by 0x8174AD4: Item_func::fix_fields(THD*, Item**) (item_func.cc:198) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x81B8AB7: subselect_single_select_engine::prepare() (item_subselect.cc:1760) ==17722== by 0x81B7B5B: Item_subselect::fix_fields(THD*, Item**) (item_subselect.cc:158) ==17722== by 0x81B7D0F: Item_in_subselect::fix_fields(THD*, Item**) (item_subselect.cc:1628) ==17722== by 0x8187CAA: Item_in_optimizer::fix_fields(THD*, Item**) (item_cmpfunc.cc:1526) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== Address 0x7c7eca0 is 5,160 bytes inside a block of size 8,164 free'd ==17722== at 0x40055AD: free (vg_replace_malloc.c:325) ==17722== by 0x84E2E81: my_no_flags_free (my_malloc.c:59) ==17722== by 0x84E3750: free_root (my_alloc.c:355) ==17722== by 0x837B989: sp_head::execute(THD*) (sp_head.cc:1269) ==17722== by 0x837C350: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1982) ==17722== by 0x820C993: mysql_execute_command(THD*) (sql_parse.cc:4352) ==17722== by 0x8210CB8: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5931) ==17722== by 0x8211EDF: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1213) ==17722== by 0x8212F98: do_command(THD*) (sql_parse.cc:854) ==17722== by 0x8201DC6: handle_one_connection (sql_connect.cc:1127) ==17722== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==17722== by 0x3D606D: clone (in /lib/libc-2.5.so) ==17722== ==17722== ==17722== 1 errors in context 4 of 287: ==17722== Invalid read of size 4 ==17722== at 0x818EE77: Item_bool_func2::fix_length_and_dec() (item_cmpfunc.cc:478) ==17722== by 0x8174AD4: Item_func::fix_fields(THD*, Item**) (item_func.cc:198) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x81B8AB7: subselect_single_select_engine::prepare() (item_subselect.cc:1760) ==17722== by 0x81B7B5B: Item_subselect::fix_fields(THD*, Item**) (item_subselect.cc:158) ==17722== by 0x81B7D0F: Item_in_subselect::fix_fields(THD*, Item**) (item_subselect.cc:1628) ==17722== by 0x8187CAA: Item_in_optimizer::fix_fields(THD*, Item**) (item_cmpfunc.cc:1526) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== Address 0x7c7ec58 is 5,088 bytes inside a block of size 8,164 free'd ==17722== at 0x40055AD: free (vg_replace_malloc.c:325) ==17722== by 0x84E2E81: my_no_flags_free (my_malloc.c:59) ==17722== by 0x84E3750: free_root (my_alloc.c:355) ==17722== by 0x837B989: sp_head::execute(THD*) (sp_head.cc:1269) ==17722== by 0x837C350: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1982) ==17722== by 0x820C993: mysql_execute_command(THD*) (sql_parse.cc:4352) ==17722== by 0x8210CB8: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5931) ==17722== by 0x8211EDF: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1213) ==17722== by 0x8212F98: do_command(THD*) (sql_parse.cc:854) ==17722== by 0x8201DC6: handle_one_connection (sql_connect.cc:1127) ==17722== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==17722== by 0x3D606D: clone (in /lib/libc-2.5.so) ==17722== ==17722== ==17722== 1 errors in context 5 of 287: ==17722== Invalid read of size 1 ==17722== at 0x8174AAA: Item_func::fix_fields(THD*, Item**) (item_func.cc:195) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x81B8AB7: subselect_single_select_engine::prepare() (item_subselect.cc:1760) ==17722== by 0x81B7B5B: Item_subselect::fix_fields(THD*, Item**) (item_subselect.cc:158) ==17722== by 0x81B7D0F: Item_in_subselect::fix_fields(THD*, Item**) (item_subselect.cc:1628) ==17722== by 0x8187CAA: Item_in_optimizer::fix_fields(THD*, Item**) (item_cmpfunc.cc:1526) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x82792D7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, 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:2377) ==17722== Address 0x7c7ec9c is 5,156 bytes inside a block of size 8,164 free'd ==17722== at 0x40055AD: free (vg_replace_malloc.c:325) ==17722== by 0x84E2E81: my_no_flags_free (my_malloc.c:59) ==17722== by 0x84E3750: free_root (my_alloc.c:355) ==17722== by 0x837B989: sp_head::execute(THD*) (sp_head.cc:1269) ==17722== by 0x837C350: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1982) ==17722== by 0x820C993: mysql_execute_command(THD*) (sql_parse.cc:4352) ==17722== by 0x8210CB8: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5931) ==17722== by 0x8211EDF: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1213) ==17722== by 0x8212F98: do_command(THD*) (sql_parse.cc:854) ==17722== by 0x8201DC6: handle_one_connection (sql_connect.cc:1127) ==17722== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==17722== by 0x3D606D: clone (in /lib/libc-2.5.so) ==17722== ==17722== ==17722== 1 errors in context 6 of 287: ==17722== Invalid read of size 4 ==17722== at 0x815EB5F: Item::const_item() const (item.h:773) ==17722== by 0x8174AA3: Item_func::fix_fields(THD*, Item**) (item_func.cc:194) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x81B8AB7: subselect_single_select_engine::prepare() (item_subselect.cc:1760) ==17722== by 0x81B7B5B: Item_subselect::fix_fields(THD*, Item**) (item_subselect.cc:158) ==17722== by 0x81B7D0F: Item_in_subselect::fix_fields(THD*, Item**) (item_subselect.cc:1628) ==17722== by 0x8187CAA: Item_in_optimizer::fix_fields(THD*, Item**) (item_cmpfunc.cc:1526) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== Address 0x7c7ec58 is 5,088 bytes inside a block of size 8,164 free'd ==17722== at 0x40055AD: free (vg_replace_malloc.c:325) ==17722== by 0x84E2E81: my_no_flags_free (my_malloc.c:59) ==17722== by 0x84E3750: free_root (my_alloc.c:355) ==17722== by 0x837B989: sp_head::execute(THD*) (sp_head.cc:1269) ==17722== by 0x837C350: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1982) ==17722== by 0x820C993: mysql_execute_command(THD*) (sql_parse.cc:4352) ==17722== by 0x8210CB8: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5931) ==17722== by 0x8211EDF: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1213) ==17722== by 0x8212F98: do_command(THD*) (sql_parse.cc:854) ==17722== by 0x8201DC6: handle_one_connection (sql_connect.cc:1127) ==17722== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==17722== by 0x3D606D: clone (in /lib/libc-2.5.so) ==17722== ==17722== ==17722== 1 errors in context 7 of 287: ==17722== Invalid read of size 4 ==17722== at 0x8174A99: Item_func::fix_fields(THD*, Item**) (item_func.cc:194) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x81B8AB7: subselect_single_select_engine::prepare() (item_subselect.cc:1760) ==17722== by 0x81B7B5B: Item_subselect::fix_fields(THD*, Item**) (item_subselect.cc:158) ==17722== by 0x81B7D0F: Item_in_subselect::fix_fields(THD*, Item**) (item_subselect.cc:1628) ==17722== by 0x8187CAA: Item_in_optimizer::fix_fields(THD*, Item**) (item_cmpfunc.cc:1526) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x82792D7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, 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:2377) ==17722== Address 0x7c7ec58 is 5,088 bytes inside a block of size 8,164 free'd ==17722== at 0x40055AD: free (vg_replace_malloc.c:325) ==17722== by 0x84E2E81: my_no_flags_free (my_malloc.c:59) ==17722== by 0x84E3750: free_root (my_alloc.c:355) ==17722== by 0x837B989: sp_head::execute(THD*) (sp_head.cc:1269) ==17722== by 0x837C350: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1982) ==17722== by 0x820C993: mysql_execute_command(THD*) (sql_parse.cc:4352) ==17722== by 0x8210CB8: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5931) ==17722== by 0x8211EDF: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1213) ==17722== by 0x8212F98: do_command(THD*) (sql_parse.cc:854) ==17722== by 0x8201DC6: handle_one_connection (sql_connect.cc:1127) ==17722== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==17722== by 0x3D606D: clone (in /lib/libc-2.5.so) ==17722== ==17722== ==17722== 1 errors in context 8 of 287: ==17722== Invalid read of size 4 ==17722== at 0x815EB2B: Item::not_null_tables() const (item.h:754) ==17722== by 0x8174A86: Item_func::fix_fields(THD*, Item**) (item_func.cc:193) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x81B8AB7: subselect_single_select_engine::prepare() (item_subselect.cc:1760) ==17722== by 0x81B7B5B: Item_subselect::fix_fields(THD*, Item**) (item_subselect.cc:158) ==17722== by 0x81B7D0F: Item_in_subselect::fix_fields(THD*, Item**) (item_subselect.cc:1628) ==17722== by 0x8187CAA: Item_in_optimizer::fix_fields(THD*, Item**) (item_cmpfunc.cc:1526) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== Address 0x7c7ec58 is 5,088 bytes inside a block of size 8,164 free'd ==17722== at 0x40055AD: free (vg_replace_malloc.c:325) ==17722== by 0x84E2E81: my_no_flags_free (my_malloc.c:59) ==17722== by 0x84E3750: free_root (my_alloc.c:355) ==17722== by 0x837B989: sp_head::execute(THD*) (sp_head.cc:1269) ==17722== by 0x837C350: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1982) ==17722== by 0x820C993: mysql_execute_command(THD*) (sql_parse.cc:4352) ==17722== by 0x8210CB8: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5931) ==17722== by 0x8211EDF: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1213) ==17722== by 0x8212F98: do_command(THD*) (sql_parse.cc:854) ==17722== by 0x8201DC6: handle_one_connection (sql_connect.cc:1127) ==17722== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==17722== by 0x3D606D: clone (in /lib/libc-2.5.so) ==17722== ==17722== ==17722== 1 errors in context 9 of 287: ==17722== Invalid read of size 4 ==17722== at 0x8174A7C: Item_func::fix_fields(THD*, Item**) (item_func.cc:193) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x81B8AB7: subselect_single_select_engine::prepare() (item_subselect.cc:1760) ==17722== by 0x81B7B5B: Item_subselect::fix_fields(THD*, Item**) (item_subselect.cc:158) ==17722== by 0x81B7D0F: Item_in_subselect::fix_fields(THD*, Item**) (item_subselect.cc:1628) ==17722== by 0x8187CAA: Item_in_optimizer::fix_fields(THD*, Item**) (item_cmpfunc.cc:1526) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x82792D7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, 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:2377) ==17722== Address 0x7c7ec58 is 5,088 bytes inside a block of size 8,164 free'd ==17722== at 0x40055AD: free (vg_replace_malloc.c:325) ==17722== by 0x84E2E81: my_no_flags_free (my_malloc.c:59) ==17722== by 0x84E3750: free_root (my_alloc.c:355) ==17722== by 0x837B989: sp_head::execute(THD*) (sp_head.cc:1269) ==17722== by 0x837C350: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1982) ==17722== by 0x820C993: mysql_execute_command(THD*) (sql_parse.cc:4352) ==17722== by 0x8210CB8: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5931) ==17722== by 0x8211EDF: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1213) ==17722== by 0x8212F98: do_command(THD*) (sql_parse.cc:854) ==17722== by 0x8201DC6: handle_one_connection (sql_connect.cc:1127) ==17722== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==17722== by 0x3D606D: clone (in /lib/libc-2.5.so) ==17722== ==17722== ==17722== 1 errors in context 10 of 287: ==17722== Invalid read of size 4 ==17722== at 0x8174A57: Item_func::fix_fields(THD*, Item**) (item_func.cc:192) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x81B8AB7: subselect_single_select_engine::prepare() (item_subselect.cc:1760) ==17722== by 0x81B7B5B: Item_subselect::fix_fields(THD*, Item**) (item_subselect.cc:158) ==17722== by 0x81B7D0F: Item_in_subselect::fix_fields(THD*, Item**) (item_subselect.cc:1628) ==17722== by 0x8187CAA: Item_in_optimizer::fix_fields(THD*, Item**) (item_cmpfunc.cc:1526) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x82792D7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, 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:2377) ==17722== Address 0x7c7ec58 is 5,088 bytes inside a block of size 8,164 free'd ==17722== at 0x40055AD: free (vg_replace_malloc.c:325) ==17722== by 0x84E2E81: my_no_flags_free (my_malloc.c:59) ==17722== by 0x84E3750: free_root (my_alloc.c:355) ==17722== by 0x837B989: sp_head::execute(THD*) (sp_head.cc:1269) ==17722== by 0x837C350: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1982) ==17722== by 0x820C993: mysql_execute_command(THD*) (sql_parse.cc:4352) ==17722== by 0x8210CB8: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5931) ==17722== by 0x8211EDF: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1213) ==17722== by 0x8212F98: do_command(THD*) (sql_parse.cc:854) ==17722== by 0x8201DC6: handle_one_connection (sql_connect.cc:1127) ==17722== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==17722== by 0x3D606D: clone (in /lib/libc-2.5.so) ==17722== ==17722== ==17722== 1 errors in context 11 of 287: ==17722== Invalid read of size 1 ==17722== at 0x8174A41: Item_func::fix_fields(THD*, Item**) (item_func.cc:191) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x81B8AB7: subselect_single_select_engine::prepare() (item_subselect.cc:1760) ==17722== by 0x81B7B5B: Item_subselect::fix_fields(THD*, Item**) (item_subselect.cc:158) ==17722== by 0x81B7D0F: Item_in_subselect::fix_fields(THD*, Item**) (item_subselect.cc:1628) ==17722== by 0x8187CAA: Item_in_optimizer::fix_fields(THD*, Item**) (item_cmpfunc.cc:1526) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x82792D7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, 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:2377) ==17722== Address 0x7c7ec8d is 5,141 bytes inside a block of size 8,164 free'd ==17722== at 0x40055AD: free (vg_replace_malloc.c:325) ==17722== by 0x84E2E81: my_no_flags_free (my_malloc.c:59) ==17722== by 0x84E3750: free_root (my_alloc.c:355) ==17722== by 0x837B989: sp_head::execute(THD*) (sp_head.cc:1269) ==17722== by 0x837C350: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1982) ==17722== by 0x820C993: mysql_execute_command(THD*) (sql_parse.cc:4352) ==17722== by 0x8210CB8: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5931) ==17722== by 0x8211EDF: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1213) ==17722== by 0x8212F98: do_command(THD*) (sql_parse.cc:854) ==17722== by 0x8201DC6: handle_one_connection (sql_connect.cc:1127) ==17722== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==17722== by 0x3D606D: clone (in /lib/libc-2.5.so) ==17722== ==17722== ==17722== 1 errors in context 12 of 287: ==17722== Invalid read of size 1 ==17722== at 0x8174A2C: Item_func::fix_fields(THD*, Item**) (item_func.cc:188) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x81B8AB7: subselect_single_select_engine::prepare() (item_subselect.cc:1760) ==17722== by 0x81B7B5B: Item_subselect::fix_fields(THD*, Item**) (item_subselect.cc:158) ==17722== by 0x81B7D0F: Item_in_subselect::fix_fields(THD*, Item**) (item_subselect.cc:1628) ==17722== by 0x8187CAA: Item_in_optimizer::fix_fields(THD*, Item**) (item_cmpfunc.cc:1526) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x82792D7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, 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:2377) ==17722== Address 0x7c7ec8a is 5,138 bytes inside a block of size 8,164 free'd ==17722== at 0x40055AD: free (vg_replace_malloc.c:325) ==17722== by 0x84E2E81: my_no_flags_free (my_malloc.c:59) ==17722== by 0x84E3750: free_root (my_alloc.c:355) ==17722== by 0x837B989: sp_head::execute(THD*) (sp_head.cc:1269) ==17722== by 0x837C350: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1982) ==17722== by 0x820C993: mysql_execute_command(THD*) (sql_parse.cc:4352) ==17722== by 0x8210CB8: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5931) ==17722== by 0x8211EDF: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1213) ==17722== by 0x8212F98: do_command(THD*) (sql_parse.cc:854) ==17722== by 0x8201DC6: handle_one_connection (sql_connect.cc:1127) ==17722== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==17722== by 0x3D606D: clone (in /lib/libc-2.5.so) ==17722== ==17722== ==17722== 1 errors in context 13 of 287: ==17722== Invalid read of size 4 ==17722== at 0x81749AF: Item_func::fix_fields(THD*, Item**) (item_func.cc:177) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x81B8AB7: subselect_single_select_engine::prepare() (item_subselect.cc:1760) ==17722== by 0x81B7B5B: Item_subselect::fix_fields(THD*, Item**) (item_subselect.cc:158) ==17722== by 0x81B7D0F: Item_in_subselect::fix_fields(THD*, Item**) (item_subselect.cc:1628) ==17722== by 0x8187CAA: Item_in_optimizer::fix_fields(THD*, Item**) (item_cmpfunc.cc:1526) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x82792D7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, 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:2377) ==17722== Address 0x7c7ec58 is 5,088 bytes inside a block of size 8,164 free'd ==17722== at 0x40055AD: free (vg_replace_malloc.c:325) ==17722== by 0x84E2E81: my_no_flags_free (my_malloc.c:59) ==17722== by 0x84E3750: free_root (my_alloc.c:355) ==17722== by 0x837B989: sp_head::execute(THD*) (sp_head.cc:1269) ==17722== by 0x837C350: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1982) ==17722== by 0x820C993: mysql_execute_command(THD*) (sql_parse.cc:4352) ==17722== by 0x8210CB8: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5931) ==17722== by 0x8211EDF: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1213) ==17722== by 0x8212F98: do_command(THD*) (sql_parse.cc:854) ==17722== by 0x8201DC6: handle_one_connection (sql_connect.cc:1127) ==17722== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==17722== by 0x3D606D: clone (in /lib/libc-2.5.so) ==17722== ==17722== ==17722== 1 errors in context 14 of 287: ==17722== Invalid write of size 1 ==17722== at 0x814FB27: Item::fix_fields(THD*, Item**) (item.cc:3530) ==17722== by 0x81749A1: Item_func::fix_fields(THD*, Item**) (item_func.cc:171) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x81B8AB7: subselect_single_select_engine::prepare() (item_subselect.cc:1760) ==17722== by 0x81B7B5B: Item_subselect::fix_fields(THD*, Item**) (item_subselect.cc:158) ==17722== by 0x81B7D0F: Item_in_subselect::fix_fields(THD*, Item**) (item_subselect.cc:1628) ==17722== by 0x8187CAA: Item_in_optimizer::fix_fields(THD*, Item**) (item_cmpfunc.cc:1526) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== Address 0x7c7ec8e is 5,142 bytes inside a block of size 8,164 free'd ==17722== at 0x40055AD: free (vg_replace_malloc.c:325) ==17722== by 0x84E2E81: my_no_flags_free (my_malloc.c:59) ==17722== by 0x84E3750: free_root (my_alloc.c:355) ==17722== by 0x837B989: sp_head::execute(THD*) (sp_head.cc:1269) ==17722== by 0x837C350: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1982) ==17722== by 0x820C993: mysql_execute_command(THD*) (sql_parse.cc:4352) ==17722== by 0x8210CB8: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5931) ==17722== by 0x8211EDF: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1213) ==17722== by 0x8212F98: do_command(THD*) (sql_parse.cc:854) ==17722== by 0x8201DC6: handle_one_connection (sql_connect.cc:1127) ==17722== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==17722== by 0x3D606D: clone (in /lib/libc-2.5.so) ==17722== ==17722== ==17722== 1 errors in context 15 of 287: ==17722== Invalid read of size 1 ==17722== at 0x814FAEE: Item::fix_fields(THD*, Item**) (item.cc:3529) ==17722== by 0x81749A1: Item_func::fix_fields(THD*, Item**) (item_func.cc:171) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x81B8AB7: subselect_single_select_engine::prepare() (item_subselect.cc:1760) ==17722== by 0x81B7B5B: Item_subselect::fix_fields(THD*, Item**) (item_subselect.cc:158) ==17722== by 0x81B7D0F: Item_in_subselect::fix_fields(THD*, Item**) (item_subselect.cc:1628) ==17722== by 0x8187CAA: Item_in_optimizer::fix_fields(THD*, Item**) (item_cmpfunc.cc:1526) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== Address 0x7c7ec8e is 5,142 bytes inside a block of size 8,164 free'd ==17722== at 0x40055AD: free (vg_replace_malloc.c:325) ==17722== by 0x84E2E81: my_no_flags_free (my_malloc.c:59) ==17722== by 0x84E3750: free_root (my_alloc.c:355) ==17722== by 0x837B989: sp_head::execute(THD*) (sp_head.cc:1269) ==17722== by 0x837C350: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1982) ==17722== by 0x820C993: mysql_execute_command(THD*) (sql_parse.cc:4352) ==17722== by 0x8210CB8: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5931) ==17722== by 0x8211EDF: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1213) ==17722== by 0x8212F98: do_command(THD*) (sql_parse.cc:854) ==17722== by 0x8201DC6: handle_one_connection (sql_connect.cc:1127) ==17722== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==17722== by 0x3D606D: clone (in /lib/libc-2.5.so) ==17722== ==17722== ==17722== 1 errors in context 16 of 287: ==17722== Invalid read of size 4 ==17722== at 0x817498F: Item_func::fix_fields(THD*, Item**) (item_func.cc:171) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x81B8AB7: subselect_single_select_engine::prepare() (item_subselect.cc:1760) ==17722== by 0x81B7B5B: Item_subselect::fix_fields(THD*, Item**) (item_subselect.cc:158) ==17722== by 0x81B7D0F: Item_in_subselect::fix_fields(THD*, Item**) (item_subselect.cc:1628) ==17722== by 0x8187CAA: Item_in_optimizer::fix_fields(THD*, Item**) (item_cmpfunc.cc:1526) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x82792D7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, 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:2377) ==17722== Address 0x7c7ec58 is 5,088 bytes inside a block of size 8,164 free'd ==17722== at 0x40055AD: free (vg_replace_malloc.c:325) ==17722== by 0x84E2E81: my_no_flags_free (my_malloc.c:59) ==17722== by 0x84E3750: free_root (my_alloc.c:355) ==17722== by 0x837B989: sp_head::execute(THD*) (sp_head.cc:1269) ==17722== by 0x837C350: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1982) ==17722== by 0x820C993: mysql_execute_command(THD*) (sql_parse.cc:4352) ==17722== by 0x8210CB8: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5931) ==17722== by 0x8211EDF: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1213) ==17722== by 0x8212F98: do_command(THD*) (sql_parse.cc:854) ==17722== by 0x8201DC6: handle_one_connection (sql_connect.cc:1127) ==17722== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==17722== by 0x3D606D: clone (in /lib/libc-2.5.so) ==17722== ==17722== ==17722== 1 errors in context 17 of 287: ==17722== Invalid read of size 1 ==17722== at 0x8174985: Item_func::fix_fields(THD*, Item**) (item_func.cc:171) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x81B8AB7: subselect_single_select_engine::prepare() (item_subselect.cc:1760) ==17722== by 0x81B7B5B: Item_subselect::fix_fields(THD*, Item**) (item_subselect.cc:158) ==17722== by 0x81B7D0F: Item_in_subselect::fix_fields(THD*, Item**) (item_subselect.cc:1628) ==17722== by 0x8187CAA: Item_in_optimizer::fix_fields(THD*, Item**) (item_cmpfunc.cc:1526) ==17722== by 0x81871DF: Item_cond::fix_fields(THD*, Item**) (item_cmpfunc.cc:3911) ==17722== by 0x8242D9D: setup_conds(THD*, TABLE_LIST*, TABLE_LIST*, Item**) (sql_base.cc:7991) ==17722== by 0x82678FB: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:412) ==17722== by 0x82792D7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, 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:2377) ==17722== Address 0x7c7ec8e is 5,142 bytes inside a block of size 8,164 free'd ==17722== at 0x40055AD: free (vg_replace_malloc.c:325) ==17722== by 0x84E2E81: my_no_flags_free (my_malloc.c:59) ==17722== by 0x84E3750: free_root (my_alloc.c:355) ==17722== by 0x837B989: sp_head::execute(THD*) (sp_head.cc:1269) ==17722== by 0x837C350: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1982) ==17722== by 0x820C993: mysql_execute_command(THD*) (sql_parse.cc:4352) ==17722== by 0x8210CB8: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5931) ==17722== by 0x8211EDF: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1213) ==17722== by 0x8212F98: do_command(THD*) (sql_parse.cc:854) ==17722== by 0x8201DC6: handle_one_connection (sql_connect.cc:1127) ==17722== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==17722== by 0x3D606D: clone (in /lib/libc-2.5.so) ==17722== --17722-- --17722-- used_suppression: 26 dl-hack3