• unknown's avatar
    InnoDB: Reduce the stack space consumption of ON UPDATE CASCADE · 19798cf7
    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.
    19798cf7
lock0lock.h 25.1 KB