• unknown's avatar
    Fix for bug #24611 "mysqld crashes when connecting from remote host, and compiled from source". · 36b183ee
    unknown authored
    On some Linux distributions with both LinuxThreads and NPTL glibc versions available, statically built binaries can crash, because linker defaults to LinuxThreads when linking statically, but calls to external libraries (like libnss) are resolved to NPTL versions.
    
    Since there is nothing we can do in the code to work that around, just give user an advice on how to fix that, if a crash happened on such a binary/OS combination.
    
    
    sql/mysqld.cc:
      Advise a user on possible solutions in case of a crash in a statically built binary on a system with both LinuxThreads and NPTL available.
    36b183ee
mysqld.cc 279 KB