I have fixed the most of warnings.
And pushed to the branch.
Pleas check the rests.
The rests are...
mysqld.cc: In function 'void init_cachedev()':
mysqld.cc:4402: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4408: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4415: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4430: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4437: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4446: warning: deprecated conversion from string constant to 'char*'
---> sql_no_fcache.patch
mysqld.cc: In function 'void* handle_connections_sockets(void*)':
mysqld.cc:5221: warning: 'sock' may be used uninitialized in this function
mysqld.cc:5225: warning: 'flags' may be used uninitialized in this function
---> bugfix48929.patch ?
(But I think it "will" be original warning... and not need to be fixed.
Because the patch is backport from the commit to the next version of mysql)
query_response_time.cc: In member function 'void query_response_time::string_collector::setup(query_response_time::utility&)':
query_response_time.cc:159: warning: ' ' flag used with '%u' gnu_printf format
query_response_time.cc:159: warning: ' ' flag used with '%u' gnu_printf format
Oleg,
I have fixed the most of warnings.
And pushed to the branch.
Pleas check the rests.
The rests are...
mysqld.cc: In function 'void init_cachedev()':
mysqld.cc:4402: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4408: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4415: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4430: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4437: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4446: warning: deprecated conversion from string constant to 'char*'
---> sql_no_fcache.patch
mysqld.cc: In function 'void* handle_ connections_ sockets( void*)' :
mysqld.cc:5221: warning: 'sock' may be used uninitialized in this function
mysqld.cc:5225: warning: 'flags' may be used uninitialized in this function
---> bugfix48929.patch ?
(But I think it "will" be original warning... and not need to be fixed.
Because the patch is backport from the commit to the next version of mysql)
query_response_ time.cc: In member function 'void query_response_ time::string_ collector: :setup( query_response_ time::utility& )': time.cc: 159: warning: ' ' flag used with '%u' gnu_printf format time.cc: 159: warning: ' ' flag used with '%u' gnu_printf format
query_response_
query_response_
---> response- time-distributi on.patch