• Sergey Vojtovich's avatar
    Simplified quick_rm_table() and mysql_rename_table() · bc954e75
    Sergey Vojtovich authored
    Replaced obscure FRM_ONLY, NO_FRM_RENAME, NO_HA_TABLE, NO_PAR_TABLE with
    straightforward explicit flags:
    
    QRMT_FRM - [re]moves .frm
    QRMT_PAR - [re]moves .par
    QRMT_HANDLER - calls ha_delete_table()/ha_rename_table() and [re]moves
                   high-level indexes
    QRMT_DEFAULT - same as QRMT_FRM | QRMT_HANDLER, which is regular table
                   drop/rename.
    bc954e75
sql_base.cc 324 KB