[Commits] Rev 3224: MDEV-103: 'debug' is disabled in this build warnings causes tests to fail in file:///H:/bzr/5.5/

sergii at pisem.net sergii at pisem.net
Fri Jan 20 08:38:02 EET 2012


Hi, Vladislav!

On Jan 20, Vladislav Vaintroub wrote:
> ------------------------------------------------------------
> revno: 3224
> revision-id: wlad at montyprogram.com-20120120005734-zk161ipkk0a9g9sz
> parent: wlad at montyprogram.com-20120119174156-8u0hgcdkgofrw3ea
> committer: Vladislav Vaintroub <wlad at montyprogram.com>
> branch nick: 5.5
> timestamp: Fri 2012-01-20 01:57:34 +0100
> message:
>   MDEV-103: 'debug' is disabled in this build warnings causes tests to fail
>   
>   The root cause is that after recent fixes around --debug variable (lp:909051)
>   the variable is now available in both release and debug builds, such that MTR
>   cannot tell a debug compiled server from optimized one.
>   
>   To fix, assign a special default value 'disabled' for 'debug' variable in optimized build
>   and fix MTR to check for this special value to recognize optimized build.

I'd simply change mtr to use another variable, that is really compiled
out in optimized builds...

Regards,
Sergei


More information about the commits mailing list