• unknown's avatar
    Bug#29936 (Stored Procedure DML ignores low_priority_updates setting) · 409938f2
    unknown authored
    This is a follow up for the patch for Bug#26162 "Trigger DML ignores low_priority_updates setting", where the stored procedure ignores the session setting of low_priority_updates.
    
    For every table open operation with default write (TL_WRITE_DEFAULT) lock_type, downgrade the lock type to the session setting of low_priority_updates.
    
    
    sql/lock.cc:
      Add late lock_type assertion.
    sql/sql_base.cc:
      Possibly downgrade lock type to the the session setting of low_priority_updates and also remove early assertion.
    409938f2
lock.cc 40.7 KB