• Andrei Elkin's avatar
    Bug #31240 load data infile replication between (4.0 or 4.1) and 5.1 fails · da8df39c
    Andrei Elkin authored
    Fixing pb failures caused by mtr invokes the test with --tmpdir to which
    there are  sensitive operations in the test
    and setup_fake_relay_log.inc also needed --secure-file-priv for its own separate
    directory.
    
    Fixed with removing SELECT INTO OUTFILE and deploying --exec echo instead in the marco.
    The test's opt file should contain --secure-file-priv=$MYSQL_TEST_DIR as the test
    operations deal with files located in $MYSQL_TEST_DIR.
    
    mysql-test/include/setup_fake_relay_log.inc:
      Refining setup_fake_relay_log.inc to not use --secure-file-priv sensitive feature.
      The latter should remain available for the test.
    da8df39c
setup_fake_relay_log.inc 2.68 KB