Merge lp:~akopytov/percona-xtrabackup/bug766305 into lp:percona-xtrabackup/2.2
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Alexey Kopytov | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 5022 | ||||
Proposed branch: | lp:~akopytov/percona-xtrabackup/bug766305 | ||||
Merge into: | lp:percona-xtrabackup/2.2 | ||||
Diff against target: |
250 lines (+65/-94) 6 files modified
configure.cmake (+2/-1) sql/signal_handler.cc (+5/-84) storage/innobase/include/univ.i (+3/-9) storage/innobase/xtrabackup/src/CMakeLists.txt (+2/-0) storage/innobase/xtrabackup/src/xtrabackup.cc (+17/-0) storage/innobase/xtrabackup/test/t/bug766305.sh (+36/-0) |
||||
To merge this branch: | bzr merge lp:~akopytov/percona-xtrabackup/bug766305 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexey Kopytov (community) | Approve | ||
Review via email: mp+235387@code.launchpad.net |
Description of the change
Bug #766305: Use MySQL Code to get stack trace
Implemented the following to reuse MySQL stacktrace dump code:
- set up handle_
in xtrabackup.
- handle_
dumping some server-specific information.
- the hidden visibility attribute in UNIV_INTERN symbols does not make
any sense for XtraBackup, but prevents fully resolved stacktraces on
Linux, so it has been removed.
- backtrace_symbols() requires passing -export-dynamic to the linker on
Linux, so the corresponding property has been added for the xtrabackup
CMake target.
- fixed cxxabi.h detection in configure.cmake to make symbol demangling
possible.
http://