• Andrei Elkin's avatar
    Bug #42451 setup_fake_relay_log makes an incorrect path on windows · 5fc4c37a
    Andrei Elkin authored
    Path composition for the relay log file that is stored into the relay index
    file was not correct for windows.
    mysql-test language does not provide primitives for portable path composition.
          
    Fixed with storing only the basename part of the external "fake" relay log into
    the relay index file.
    Safety of removal of the dirname part of the relaylog is provided by logics of
    `setup_fake_relay_log' that places the fake file into @@datadir directory.
    
    
    mysql-test/include/setup_fake_relay_log.inc:
      storing only the basename part of the external "fake" relay log into the relay
      log index.
    mysql-test/suite/rpl/t/rpl_cross_version.test:
      restoring test for windows.
    5fc4c37a
setup_fake_relay_log.inc 2.7 KB