• Mats Kindahl's avatar
    Bug #38773: DROP DATABASE cause switch to stmt-mode when there are temporary tables open · 1bfa707a
    Mats Kindahl authored
    When executing a DROP DATABASE statement in ROW mode and having temporary
    tables open at the same time, the existance of temporary tables prevent
    the server from switching back to row mode after temporarily switching to
    statement mode to handle the logging of the statement.
    
    Fixed the problem by removing the code to switch to statement mode and added
    code to temporarily disable the binary log while dropping the objects in the
    database.
    1bfa707a
sql_db.cc 56.7 KB