• Sergey Glukhov's avatar
    Bug#36638 mysqld crashes when open file limit is passed and general query log enabled · 5aff1f3d
    Sergey Glukhov authored
    The problem:
    CSV storage engine open function returns success even
    thought it failed to open the data file
    The fix:
    return error
    Additional fixes:
    added MY_WME to my_open to avoid mysterious error message
    free share struct if open the file was unsuccessful
    
    
    mysql-test/r/csv.result:
      test result
    mysql-test/t/csv.test:
      test case
    storage/csv/ha_tina.cc:
      The problem:
      CSV storage engine open function returns success even
      thought it failed to open the data file
      The fix:
      return error
      Additional fixes:
      added MY_WME to my_open to avoid mysterious error message
      free share struct if open the file was unsuccessful
    5aff1f3d
csv.result 56.4 KB