• Sergey Vojtovich's avatar
    MDEV-5309 - RENAME TABLE does not check for existence of the table's engine · 909f7607
    Sergey Vojtovich authored
    When RENAME TABLE is executed, it apparently does not check whether the engine
    is available (unlike ALTER TABLE .. RENAME, which does). It means that if the
    engine in question was not loaded on some reason, the table might become
    unusable, since the engine won't know about the change.
    
    With this patch RENAME TABLE fails if storage engine is not available.
    909f7607
sql_rename.cc 10.4 KB