• Davi Arnaut's avatar
    Bug#37003 Tests sporadically crashes with embedded server · 30bd1d7c
    Davi Arnaut authored
    The problem was that when a embedded linked version of mysqltest
    crashed there was no way to obtain a stack trace if no core file
    is available. Another problem is that the embedded version of
    libmysql was not behaving (crash) the same as the non-embedded with
    respect to sending commands to a explicitly closed connection.
    
    The solution is to generate a mysqltest's stack trace on crash
    and to enable "reconnect" if the connection handle was explicitly
    closed so the behavior matches the non-embedded one.
    30bd1d7c
mysqld.cc 309 KB