• unknown's avatar
    a fix (bug #4214: Table corruption with myisampack and large BLOB objects). · 943f8335
    unknown authored
    
    myisam/mi_check.c:
      a fix (bug #4214: Table corruption with myisampack and large BLOB objects).
      - pass version to the save_pack_length().
    myisam/mi_packrec.c:
      a fix (bug #4214: Table corruption with myisampack and large BLOB objects).
      - code cleanup: read_pack_length() and calc_pack_length() introduced, 
                      save_pack_length() modified: now the behavior depends on packing version
      - save packing version in the share->pack.version
      - pass it to the read_pack_length()
    myisam/mi_static.c:
      a fix (bug #4214: Table corruption with myisampack and large BLOB objects).
      - packing version set to 2
    myisam/myisamdef.h:
      a fix (bug #4214: Table corruption with myisampack and large BLOB objects).
      - packing version slot introduced (see MI_PACK)
    myisam/myisampack.c:
      a fix (bug #4214: Table corruption with myisampack and large BLOB objects).
      - code cleanup
      - pass version to the calc_pack_length() and save_pack_length()
    943f8335
mi_static.c 2.25 KB