• Marko Mäkelä's avatar
    Bug#59307 Valgrind: uninitialized value in rw_lock_set_writer_id_and_recursion_flag() · 0efaef7d
    Marko Mäkelä authored
    rw_lock_create_func(): Initialize lock->writer_thread, so that Valgrind
    will not complain even when Valgrind instrumentation is not enabled.
    Flag lock->writer_thread uninitialized, so that Valgrind can complain
    when it is used uninitialized.
    
    rw_lock_set_writer_id_and_recursion_flag(): Revert the bogus Valgrind
    instrumentation that was pushed in the first attempt to fix this bug.
    0efaef7d
innodb_bug59307.result 476 Bytes