• unknown's avatar
    InnoDB: Reduce the stack space consumption of ON UPDATE CASCADE · 0404a607
    unknown authored
    operations.
    
    
    innobase/include/lock0lock.h:
      Added lock_clust_rec_read_check_and_lock_alt(),
      a variant of lock_clust_rec_read_check_and_lock()
      without the parameter "offsets".
    innobase/lock/lock0lock.c:
      Added lock_clust_rec_read_check_and_lock_alt(),
      a variant of lock_clust_rec_read_check_and_lock()
      without the parameter "offsets".
    innobase/row/row0ins.c:
      row_ins_foreign_check_on_constraint(): Do not allocate offsets
      from stack. This reduces the stack space consumption of
      ON UPDATE CASCADE operations by 400 bytes per cascaded UPDATE
      operation.
    0404a607
row0ins.c 60 KB