• Sven Sandberg's avatar
    BUG#38170: rpl_variables failed on pushbuild: could not sync with master · e77957ee
    Sven Sandberg authored
    Problem: the test set @@global.init_slave to garbage at a time
    which was not guaranteed to be after the time when the slave's
    SQL thread used it. That would cause the slave's SQL thread to
    stop in rare cases.
    Fix: The test does not care about the value of
    @@global.init_slave, except that it should be different on
    master and slave. Hence, we set @@global.init_slave to
    something that is valid SQL.
    e77957ee
rpl_variables.test 25.1 KB