• Michael Widenius's avatar
    Fix for Lbug:#686010 maria.optimize corrupts stack around alloca() call · 4bb42c4e
    Michael Widenius authored
    
    storage/maria/ma_check.c:
      Allocate also memory for nodflag and transid's
    storage/maria/ma_write.c:
      Allow nodflag and transid as part of key.
      (This has nothing to do with the bug report, but it's a safer check).
    storage/maria/maria_def.h:
      Define MARIA_MAX_POINTER_LENGTH (length of pointer to node)
      Added node pointer length to MARIA_INDEX_OVERHEAD_SIZE, as this is part of the key.
      (Safety fix)
    4bb42c4e
ma_check.c 226 KB