• unknown's avatar
    Fixing the little bug that if a new version reads an old control file, · 2d327efd
    unknown authored
    it couldn't entirely write its new information (it could not write
    more bytes than the old format wrote).
    
    
    storage/maria/ma_control_file.c:
      Let ma_control_file_write_and_force() return error if called when
      file is not open.
      When the file was of an old version (no room for our changeable part)
      we upgrade this part. When the file was of a new version we re-use its
      format but zero the parts which we can't maintain.
    storage/maria/ma_init.c:
      ma_control_file_write_and_force() now does not assert if called
      when control file is not open.
    storage/maria/ma_recovery.c:
      missing ";" (thanks Peter Zaitsev for the bug report and Monty for the patch)
    2d327efd
ma_recovery.c 110 KB