• Staale Smedseng's avatar
    Bug #47391 no stack trace printed to error log on · 76f1127f
    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().
    76f1127f
stacktrace.c 16.8 KB