• Eugene Kosov's avatar
    MDEV-24334 make monitor_set_tbl global variable thread-safe · a50cb486
    Eugene Kosov authored
    Atomic_relaxed<T>: add fetch_or() and fetch_and()
    
    innodb_init(): rely on a zero-initialization of a global variable
    
    monitor_set_tbl: make Atomic_relaxed<ulint> array and use proper operations
    for setting bit, unsetting bit and reading bit
    
    Reviewed by: Marko Mäkelä
    a50cb486
ha_innodb.cc 618 KB