• Michael Widenius's avatar
    Fix for Lbug:#686010 maria.optimize corrupts stack around alloca() call · bd2034db
    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)
    bd2034db
maria_def.h 55.9 KB