• Staale Smedseng's avatar
    Bug #45770 errors reading server SSL files are printed, but · 63ab8415
    Staale Smedseng authored
    not logged
            
    Errors encountered during initialization of the SSL subsystem
    are printed to stderr, rather than to the error log.
            
    This patch adds a parameter to several SSL init functions to
    report the error (if any) out to the caller. The function
    init_ssl() in mysqld.cc is moved after the initialization of
    the log subsystem, so that any error messages can be logged to
    the error log. Printing of messages to stderr has been 
    retained to get diagnostic output in a client context.
    63ab8415
mysqld.cc 291 KB