Merge lp:~laurynas-biveinis/percona-server/compiler-warnings-5.1 into lp:percona-server/5.1
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Stewart Smith | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 327 | ||||
Proposed branch: | lp:~laurynas-biveinis/percona-server/compiler-warnings-5.1 | ||||
Merge into: | lp:percona-server/5.1 | ||||
Diff against target: |
490 lines (+87/-51) 9 files modified
patches/bugfix48929.patch (+21/-9) patches/innodb_expand_fast_index_creation.patch (+2/-2) patches/innodb_expand_import.patch (+1/-3) patches/innodb_split_buf_pool_mutex.patch (+25/-30) patches/innodb_thread_concurrency_timer_based.patch (+3/-3) patches/mysql_remove_eol_carret.patch (+7/-1) patches/query_cache_enhance.patch (+3/-3) patches/series (+1/-0) patches/warning_fixes.patch (+24/-0) |
||||
To merge this branch: | bzr merge lp:~laurynas-biveinis/percona-server/compiler-warnings-5.1 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexey Kopytov (community) | Approve | ||
Percona developers | Pending | ||
Oleg Tsarev | Pending | ||
Yasufumi Kinoshita | Pending | ||
Review via email: mp+80335@code.launchpad.net |
This proposal supersedes a proposal from 2011-10-21.
Description of the change
Changes from the previous MP:
- UNINIT_VAR used everywhere where possible (the enum var still has a default initialization due to UNINIT_VAR incompatibility).
- Type cast whitespace fixed.
- s/(unsigned)
- Code removed instead of commented out.
The test results of --enable-
http://
(all workers are past compilation stage now)
The release configuration Jenkins test results will be at
http://
-------
Fix Percona Server 5.1 compilation warnings (including the GCC
4.6-specific ones which are tracked in bug 878164):
- bugfix48929.patch: declare and set ip_flags and socket_flags
local vars in handle_
compilation only if their values are going to be used. Initialize
sock and flag local vars to silence compiler warnings.
- innodb_
in mysqldump.
compiler warning. Likewise for is_unique in
mysqldump.
- innodb_
root_height local var in fil_open_
- innodb_
declaration and setting of its value in buf_page_
it regular with commented out use of it.
- innodb_
os_atomic_
srv0srv.
srv_conc_
- mysql_remove_
readline.
warning.
- query_cache_
unsigned integer expressions in sql_cache.
by casting last_space + 1, which can only be non-negative, to
unsigned.
- New patch warning_fixes.patch for upstream warning fixes: initialize
local var number in log.cc:
positive compiler warning. Initialize local var need_copy_table_res
local var in sql_table.
Custom Jenkins configuration with -Werror testing results:
http://
No failures besides the usual slave/unstable-
Since it is missing "release" configuration, I'm also running Jenkins in the main configuration. Will post it once it finishes.
Jenkins results: jenkins. percona. com/view/ Percona% 20Server% 205.1/job/ percona- server- 5.1-param/ 184/
http://