Debug builds fail
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL patches by Codership |
New
|
Undecided
|
Unassigned | |||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | Status tracked in 5.6 | |||||
5.5 |
New
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
Medium
|
Alexey Kopytov |
Bug Description
WITH_DEBUG=1 builds fail with the following compiler errors:
[ 61%] Building CXX object storage/
cc1plus: warnings being treated as errors
/home/user/
/home/user/
make[2]: *** [storage/
[ 61%] Building CXX object storage/
cc1plus: warnings being treated as errors
/home/user/
make[2]: *** [storage/
make[2]: Target `storage/
Verified with 5.6 on CentOS 6.5.
The fix is:
=== modified file 'storage/
--- storage/
+++ storage/
@@ -10066,7 +10066,6 @@
uint len;
char keyval[
char *key = &keyval[0];
- KEY *key_info = table->key_info;
ibool is_null;
len = wsrep_store_
=== modified file 'storage/
--- storage/
+++ storage/
@@ -1798,7 +1798,7 @@
return(trx_id);
}
-#ifdef UNIV_DEBUG
+#if defined(UNIV_DEBUG) && !defined(
/*****
Checks if some transaction, other than given trx_id, has an explicit
lock on the given rec, in the given precise_mode.
Related branches
- Raghavendra D Prabhu: Pending requested
-
Diff: 24 lines (+1/-2)2 files modifiedstorage/innobase/handler/ha_innodb.cc (+0/-1)
storage/innobase/lock/lock0lock.cc (+1/-1)
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PXC-1115