• unknown's avatar
    Close share->data_file in before renaming in ha_tina::repair · 79a2debe
    unknown authored
    Open and seek to end of data_file after rename 
    Fix comment for when file does not need repair.
    Set share->mapped_file to NULL always when it's been unmapped 
    Add test to see that file can be used after repair
    
    
    mysql-test/r/csv.result:
      Add more test to see that the table can be used after repair
    mysql-test/t/csv.test:
      Add more test to see that the table can be used after repair
    storage/csv/ha_tina.cc:
      Close share->data_file in before renaming in ha_tina::repair
      Open and seek to end after rename
      Fix comment for when file does not need repair.
      Set share->mapped_file to NULL always when it's been unmapped
    79a2debe
csv.test 97.7 KB