set names utf8; flush tables; drop table if exists `t1`,`t2`; create table `t1` (`a` int) engine=myisam; insert into `t1` values (); create table `t2`(`b` int)engine=myisam; insert into t2 values (),(); select 1 from t1 left join `t2` on 1; select max(`t22222`.`b`) from `t1` left join `t2` as `t22222` on convert(`t1`.`a`,decimal)|convert(`t22222`.`b` using cp932) order by 1 ; Version: '5.6.99-m4-debug' socket: '/tmp/mysql.sock' port: 3306 Source distribution ==30347== Thread 16: ==30347== Conditional jump or move depends on uninitialised value(s) ==30347== at 0xA56D4F: decimal_round (decimal.c:1473) ==30347== by 0x58187D: my_decimal2int(unsigned int, my_decimal const*, char, long long*) (my_decimal.h:303) ==30347== by 0x56C487: Item_cache_decimal::val_int() (item.cc:7518) ==30347== by 0x5AF5A4: Item_func_bit_or::val_int() (item_cmpfunc.cc:4025) ==30347== by 0x5F65CB: Item_func_trig_cond::val_int() (item_cmpfunc.h:434) ==30347== by 0x6D1E00: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11522) ==30347== by 0x6D21DE: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11473) ==30347== by 0x6DAC1E: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11225) ==30347== by 0x6F5288: JOIN::exec() (sql_select.cc:1899) ==30347== by 0x6F1870: 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:2506) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347== Uninitialised value was created by a heap allocation ==30347== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==30347== by 0x9F8690: _mymalloc (safemalloc.c:137) ==30347== by 0x9F7C5C: alloc_root (my_alloc.c:201) ==30347== by 0x5DC4FC: sql_alloc(unsigned long) (thr_malloc.cc:66) ==30347== by 0x550954: Sql_alloc::operator new(unsigned long) (sql_list.h:36) ==30347== by 0x6F16AD: 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:2479) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347== ==30347== Conditional jump or move depends on uninitialised value(s) ==30347== at 0xA56EC4: decimal_round (decimal.c:1489) ==30347== by 0x58187D: my_decimal2int(unsigned int, my_decimal const*, char, long long*) (my_decimal.h:303) ==30347== by 0x56C487: Item_cache_decimal::val_int() (item.cc:7518) ==30347== by 0x5AF5A4: Item_func_bit_or::val_int() (item_cmpfunc.cc:4025) ==30347== by 0x5F65CB: Item_func_trig_cond::val_int() (item_cmpfunc.h:434) ==30347== by 0x6D1E00: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11522) ==30347== by 0x6D21DE: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11473) ==30347== by 0x6DAC1E: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11225) ==30347== by 0x6F5288: JOIN::exec() (sql_select.cc:1899) ==30347== by 0x6F1870: 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:2506) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347== Uninitialised value was created by a heap allocation ==30347== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==30347== by 0x9F8690: _mymalloc (safemalloc.c:137) ==30347== by 0x9F7C5C: alloc_root (my_alloc.c:201) ==30347== by 0x5DC4FC: sql_alloc(unsigned long) (thr_malloc.cc:66) ==30347== by 0x550954: Sql_alloc::operator new(unsigned long) (sql_list.h:36) ==30347== by 0x6F16AD: 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:2479) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347== ==30347== Conditional jump or move depends on uninitialised value(s) ==30347== at 0xA56EFF: decimal_round (decimal.c:1496) ==30347== by 0x58187D: my_decimal2int(unsigned int, my_decimal const*, char, long long*) (my_decimal.h:303) ==30347== by 0x56C487: Item_cache_decimal::val_int() (item.cc:7518) ==30347== by 0x5AF5A4: Item_func_bit_or::val_int() (item_cmpfunc.cc:4025) ==30347== by 0x5F65CB: Item_func_trig_cond::val_int() (item_cmpfunc.h:434) ==30347== by 0x6D1E00: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11522) ==30347== by 0x6D21DE: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11473) ==30347== by 0x6DAC1E: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11225) ==30347== by 0x6F5288: JOIN::exec() (sql_select.cc:1899) ==30347== by 0x6F1870: 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:2506) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347== Uninitialised value was created by a heap allocation ==30347== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==30347== by 0x9F8690: _mymalloc (safemalloc.c:137) ==30347== by 0x9F7C5C: alloc_root (my_alloc.c:201) ==30347== by 0x5DC4FC: sql_alloc(unsigned long) (thr_malloc.cc:66) ==30347== by 0x550954: Sql_alloc::operator new(unsigned long) (sql_list.h:36) ==30347== by 0x6F16AD: 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:2479) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347== ==30347== Conditional jump or move depends on uninitialised value(s) ==30347== at 0xA56FDD: decimal_round (decimal.c:1507) ==30347== by 0x58187D: my_decimal2int(unsigned int, my_decimal const*, char, long long*) (my_decimal.h:303) ==30347== by 0x56C487: Item_cache_decimal::val_int() (item.cc:7518) ==30347== by 0x5AF5A4: Item_func_bit_or::val_int() (item_cmpfunc.cc:4025) ==30347== by 0x5F65CB: Item_func_trig_cond::val_int() (item_cmpfunc.h:434) ==30347== by 0x6D1E00: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11522) ==30347== by 0x6D21DE: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11473) ==30347== by 0x6DAC1E: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11225) ==30347== by 0x6F5288: JOIN::exec() (sql_select.cc:1899) ==30347== by 0x6F1870: 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:2506) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347== Uninitialised value was created by a heap allocation ==30347== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==30347== by 0x9F8690: _mymalloc (safemalloc.c:137) ==30347== by 0x9F7C5C: alloc_root (my_alloc.c:201) ==30347== by 0x5DC4FC: sql_alloc(unsigned long) (thr_malloc.cc:66) ==30347== by 0x550954: Sql_alloc::operator new(unsigned long) (sql_list.h:36) ==30347== by 0x6F16AD: 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:2479) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347== ==30347== Conditional jump or move depends on uninitialised value(s) ==30347== at 0xA56FEE: decimal_round (decimal.c:1509) ==30347== by 0x58187D: my_decimal2int(unsigned int, my_decimal const*, char, long long*) (my_decimal.h:303) ==30347== by 0x56C487: Item_cache_decimal::val_int() (item.cc:7518) ==30347== by 0x5AF5A4: Item_func_bit_or::val_int() (item_cmpfunc.cc:4025) ==30347== by 0x5F65CB: Item_func_trig_cond::val_int() (item_cmpfunc.h:434) ==30347== by 0x6D1E00: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11522) ==30347== by 0x6D21DE: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11473) ==30347== by 0x6DAC1E: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11225) ==30347== by 0x6F5288: JOIN::exec() (sql_select.cc:1899) ==30347== by 0x6F1870: 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:2506) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347== Uninitialised value was created by a heap allocation ==30347== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==30347== by 0x9F8690: _mymalloc (safemalloc.c:137) ==30347== by 0x9F7C5C: alloc_root (my_alloc.c:201) ==30347== by 0x5DC4FC: sql_alloc(unsigned long) (thr_malloc.cc:66) ==30347== by 0x550954: Sql_alloc::operator new(unsigned long) (sql_list.h:36) ==30347== by 0x6F16AD: 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:2479) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347== ==30347== Conditional jump or move depends on uninitialised value(s) ==30347== at 0xA57063: decimal_round (decimal.c:1519) ==30347== by 0x58187D: my_decimal2int(unsigned int, my_decimal const*, char, long long*) (my_decimal.h:303) ==30347== by 0x56C487: Item_cache_decimal::val_int() (item.cc:7518) ==30347== by 0x5AF5A4: Item_func_bit_or::val_int() (item_cmpfunc.cc:4025) ==30347== by 0x5F65CB: Item_func_trig_cond::val_int() (item_cmpfunc.h:434) ==30347== by 0x6D1E00: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11522) ==30347== by 0x6D21DE: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11473) ==30347== by 0x6DAC1E: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11225) ==30347== by 0x6F5288: JOIN::exec() (sql_select.cc:1899) ==30347== by 0x6F1870: 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:2506) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347== Uninitialised value was created by a heap allocation ==30347== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==30347== by 0x9F8690: _mymalloc (safemalloc.c:137) ==30347== by 0x9F7C5C: alloc_root (my_alloc.c:201) ==30347== by 0x5DC4FC: sql_alloc(unsigned long) (thr_malloc.cc:66) ==30347== by 0x550954: Sql_alloc::operator new(unsigned long) (sql_list.h:36) ==30347== by 0x6F16AD: 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:2479) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347== ==30347== Conditional jump or move depends on uninitialised value(s) ==30347== at 0xA570B7: decimal_round (decimal.c:1527) ==30347== by 0x58187D: my_decimal2int(unsigned int, my_decimal const*, char, long long*) (my_decimal.h:303) ==30347== by 0x56C487: Item_cache_decimal::val_int() (item.cc:7518) ==30347== by 0x5AF5A4: Item_func_bit_or::val_int() (item_cmpfunc.cc:4025) ==30347== by 0x5F65CB: Item_func_trig_cond::val_int() (item_cmpfunc.h:434) ==30347== by 0x6D1E00: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11522) ==30347== by 0x6D21DE: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11473) ==30347== by 0x6DAC1E: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11225) ==30347== by 0x6F5288: JOIN::exec() (sql_select.cc:1899) ==30347== by 0x6F1870: 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:2506) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347== Uninitialised value was created by a heap allocation ==30347== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==30347== by 0x9F8690: _mymalloc (safemalloc.c:137) ==30347== by 0x9F7C5C: alloc_root (my_alloc.c:201) ==30347== by 0x5DC4FC: sql_alloc(unsigned long) (thr_malloc.cc:66) ==30347== by 0x550954: Sql_alloc::operator new(unsigned long) (sql_list.h:36) ==30347== by 0x6F16AD: 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:2479) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347== ==30347== Conditional jump or move depends on uninitialised value(s) ==30347== at 0xA559A9: decimal2longlong (decimal.c:1064) ==30347== by 0x5818A2: my_decimal2int(unsigned int, my_decimal const*, char, long long*) (my_decimal.h:306) ==30347== by 0x56C487: Item_cache_decimal::val_int() (item.cc:7518) ==30347== by 0x5AF5A4: Item_func_bit_or::val_int() (item_cmpfunc.cc:4025) ==30347== by 0x5F65CB: Item_func_trig_cond::val_int() (item_cmpfunc.h:434) ==30347== by 0x6D1E00: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11522) ==30347== by 0x6D21DE: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11473) ==30347== by 0x6DAC1E: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11225) ==30347== by 0x6F5288: JOIN::exec() (sql_select.cc:1899) ==30347== by 0x6F1870: 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:2506) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347== Uninitialised value was created by a heap allocation ==30347== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==30347== by 0x9F8690: _mymalloc (safemalloc.c:137) ==30347== by 0x9F7C5C: alloc_root (my_alloc.c:201) ==30347== by 0x5DC4FC: sql_alloc(unsigned long) (thr_malloc.cc:66) ==30347== by 0x550954: Sql_alloc::operator new(unsigned long) (sql_list.h:36) ==30347== by 0x6F16AD: 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:2479) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347== ==30347== Conditional jump or move depends on uninitialised value(s) ==30347== at 0xA559B9: decimal2longlong (decimal.c:1085) ==30347== by 0x5818A2: my_decimal2int(unsigned int, my_decimal const*, char, long long*) (my_decimal.h:306) ==30347== by 0x56C487: Item_cache_decimal::val_int() (item.cc:7518) ==30347== by 0x5AF5A4: Item_func_bit_or::val_int() (item_cmpfunc.cc:4025) ==30347== by 0x5F65CB: Item_func_trig_cond::val_int() (item_cmpfunc.h:434) ==30347== by 0x6D1E00: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11522) ==30347== by 0x6D21DE: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11473) ==30347== by 0x6DAC1E: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11225) ==30347== by 0x6F5288: JOIN::exec() (sql_select.cc:1899) ==30347== by 0x6F1870: 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:2506) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347== Uninitialised value was created by a heap allocation ==30347== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==30347== by 0x9F8690: _mymalloc (safemalloc.c:137) ==30347== by 0x9F7C5C: alloc_root (my_alloc.c:201) ==30347== by 0x5DC4FC: sql_alloc(unsigned long) (thr_malloc.cc:66) ==30347== by 0x550954: Sql_alloc::operator new(unsigned long) (sql_list.h:36) ==30347== by 0x6F16AD: 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:2479) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347== ==30347== Conditional jump or move depends on uninitialised value(s) ==30347== at 0xA55A08: decimal2longlong (decimal.c:1091) ==30347== by 0x5818A2: my_decimal2int(unsigned int, my_decimal const*, char, long long*) (my_decimal.h:306) ==30347== by 0x56C487: Item_cache_decimal::val_int() (item.cc:7518) ==30347== by 0x5AF5A4: Item_func_bit_or::val_int() (item_cmpfunc.cc:4025) ==30347== by 0x5F65CB: Item_func_trig_cond::val_int() (item_cmpfunc.h:434) ==30347== by 0x6D1E00: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:11522) ==30347== by 0x6D21DE: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:11473) ==30347== by 0x6DAC1E: do_select(JOIN*, List*, TABLE*, Procedure*) (sql_select.cc:11225) ==30347== by 0x6F5288: JOIN::exec() (sql_select.cc:1899) ==30347== by 0x6F1870: 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:2506) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347== Uninitialised value was created by a heap allocation ==30347== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==30347== by 0x9F8690: _mymalloc (safemalloc.c:137) ==30347== by 0x9F7C5C: alloc_root (my_alloc.c:201) ==30347== by 0x5DC4FC: sql_alloc(unsigned long) (thr_malloc.cc:66) ==30347== by 0x550954: Sql_alloc::operator new(unsigned long) (sql_list.h:36) ==30347== by 0x6F16AD: 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:2479) ==30347== by 0x6F6F6D: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:271) ==30347== by 0x658BB1: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4703) ==30347== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30347== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30347== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30347== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30347== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30347== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30347== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30347== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30347==