• gkodinov/kgeorge@magare.gmz's avatar
    Bug #29325: · 015e1290
    gkodinov/kgeorge@magare.gmz authored
    By default MyISAM overwrites .MYD and .MYI files no 
    DATA DIRECTORY option is used. This can lead to two tables
    using the same .MYD and .MYI files (that can't be dropped).
    
    To prevent CREATE TABLE from overwriting a file a new option
    is introduced : keep_files_on_create
    When this is on the CREATE TABLE throws an error if either
    the .MYD or .MYI exists for a MyISAM table.
    The option is off by default (resulting in compatible behavior).
    015e1290
unireg.cc 27.6 KB