diff options
author | Staale Smedseng <staale.smedseng@sun.com> | 2009-12-06 18:11:37 +0100 |
---|---|---|
committer | Staale Smedseng <staale.smedseng@sun.com> | 2009-12-06 18:11:37 +0100 |
commit | 63ff2b4c2e7db9872515cec3d897817ac83d109c (patch) | |
tree | 0b38d85b7c8bf26bce8b089ea492bc70e467888f /sql/sql_db.cc | |
parent | 026541c662539657d75fed5e7e59326abd97cec3 (diff) | |
download | mariadb-git-63ff2b4c2e7db9872515cec3d897817ac83d109c.tar.gz |
Bug #47391 no stack trace printed to error log on
solaris after a crash
This patch adds a Solaris-specific version of
print_stacktrace() which uses printstack(2), available on all
Solaris versions since Solaris 9. (While Solaris 11 adds
support for the glibc functions backtrace_*() as of
PSARC/2007/162, printstack() is used for consistency over all
Solaris versions.)
The symbol names are mangled, so use of c++filt may be
required as described in the MySQL documentation.
sql/stacktrace.c:
Added Solaris-specific print_stacktrace().
Diffstat (limited to 'sql/sql_db.cc')
0 files changed, 0 insertions, 0 deletions