• unknown's avatar
    Bug#16501: IS_USED_LOCK does not appear to work · 9fc25141
    unknown authored
    Update User_level_lock::thread_id on acquiring an existing lock,
    and reset it on lock release.
    
    
    mysql-test/r/func_misc.result:
      Add result for bug#16501.
    mysql-test/t/func_misc.test:
      Add test case for bug#16501.
    sql/item_func.cc:
      Update User_level_lock::thread_id on acquiring an existing lock,
      and reset it on lock release (for safety).
    9fc25141
func_misc.result 3.11 KB