← Back to team overview

maria-developers team mailing list archive

Valgrind reports uninitialized value on "if (!with_two_phase_optimization..."

 

Hello Igor,

Please check the output of "mtr --valgrind main.sp"

I'm getting these warnings:

line
==6490== Thread 6:
==6490== Conditional jump or move depends on uninitialised value(s)
==6490==    at 0x7762A1: JOIN::optimize() (sql_select.cc:1123)
==6490==    by 0x77F2A7: mysql_select(THD*, 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:3721)
==6490==    by 0x773994: handle_select(THD*, LEX*, select_result*,
unsigned long) (sql_select.cc:376)
==6490==    by 0x73F055: execute_sqlcom_select(THD*, TABLE_LIST*)
(sql_parse.cc:6431)
==6490==    by 0x7354C9: mysql_execute_command(THD*) (sql_parse.cc:3631)
==6490==    by 0x742A48: mysql_parse(THD*, char*, unsigned int,
Parser_state*, bool, bool) (sql_parse.cc:7886)
==6490==    by 0x730684: dispatch_command(enum_server_command, THD*,
char*, unsigned int, bool, bool) (sql_parse.cc:1814)
==6490==    by 0x72EFF7: do_command(THD*) (sql_parse.cc:1372)
==6490==    by 0x883380: do_handle_one_connection(CONNECT*)
(sql_connect.cc:1354)
==6490==    by 0x883100: handle_one_connection (sql_connect.cc:1260)
==6490==    by 0x10D6329: pfs_spawn_thread (pfs.cc:1862)
==6490==    by 0x4E3C619: start_thread (in /usr/lib64/libpthread-2.22.so)
==6490==    by 0x6DB75FC: clone (in /usr/lib64/libc-2.22.so)
^ Found warnings in
/home/bar/maria-git/server.10.2-ext/mysql-test/var/6/log/mysqld.1.err


Thanks!