• Staale Smedseng's avatar
    Bug #47391 no stack trace printed to error log on · 63ff2b4c
    Staale Smedseng authored
    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().
    63ff2b4c
stacktrace.h 1.99 KB