• Sergey Glukhov's avatar
    Bug#41441 repair csv table crashes debug server · 47c0ec50
    Sergey Glukhov authored
    The problem: data file can not be deleted on win because
    there is another opened instance of this file.
    Data file might be opened twice, on table opening stage and
    during write_row execution. We need to close both instances
    to satisfy Win.
    
    
    mysql-test/r/csv.result:
      test result
    mysql-test/t/csv.test:
      test case
    storage/csv/ha_tina.cc:
      The problem: data file can not be deleted on win because
      there is another opened instance of this file.
      Data file might be opened twice, on table opening stage and
      during write_row execution. We need to close both instances
      to satisfy Win.
    47c0ec50
csv.test 105 KB