• unknown's avatar
    MDEV-4650: show variables; ERROR 1946 (HY000): Failed to load replication slave GTID position · b978a14c
    unknown authored
    The bug was that if mysql.slave_gtid_pos was missing, operations on variables
    gtid_slave_pos, gtid_binlog_pos, and gtid_current_pos would fail, and continue
    to fail even after the table was fixed, until server restart.
    
    Now setting the variables retry loading the table, succeeding if it has been
    restored. And querying the variables when the table is not there acts as if
    the table was there and was empty.
    
    Also, attempt to fix a race in the rpl.rpl_gtid_basic test case.
    b978a14c
rpl_gtid_stop_start.result 4.66 KB