Add -DWITH_DEBUG=ON for build-binary.sh --debug

Bug #1241455 reported by Laurynas Biveinis
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Committed
Wishlist
Tomislav Plavcic
5.1
Won't Fix
Undecided
Unassigned
5.5
Fix Committed
Wishlist
Tomislav Plavcic
5.6
Fix Committed
Wishlist
Tomislav Plavcic

Bug Description

Currently build-binary.sh --debug uses -DCMAKE_BUILD_CONFIG=Debug, which results in less debug code (safe mutexes) compiled in than with -DWITH_DEBUG=ON (see http://bugs.mysql.com/bug.php?id=70647).

We would like to have safe mutexes enabled for QA, thus add -DWITH_DEBUG=ON to build-binary.sh if --debug is specified. But that alone would not be a working fix because we also have -DWITH_INNODB_MEMCACHED=ON, and it unconditionally disables the safe mutexes. Thus figure out when do we want to have memcached libraries built by the script.

Tags: pkg qa

Related branches

tags: added: pkg
tags: added: qa
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Upstream MySQL 8.0.3 might have a fix for this: https://bugs.mysql.com/bug.php?id=87068

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-2436

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.