• Alfranio Correia's avatar
    BUG#38174 secure-file-priv breaks LOAD DATA INFILE replication in statement mode · 4447ce61
    Alfranio Correia authored
                      
    If secure-file-priv was set on slave, it became unable to execute
    LOAD DATA INFILE statements sent from master using mixed or
    statement-based replication.
                      
    This patch fixes the issue by ignoring this security restriction
    and checking if the files are created and read by the slave in the
    --slave-load-tmpdir while executing the SQL Thread.
    4447ce61
sql_load.cc 38.3 KB