• unknown's avatar
    Fix for BUG#1391: · dae13b54
    unknown authored
    "If LOAD DATA INFILE 'small_file' fails on master, slave leaves temp files"
    (the bug is in the master)
    
    
    mysql-test/r/rpl_loaddata.result:
      result update
    mysql-test/std_data/rpl_loaddata2.dat:
      change to introduce a unique key violation
    mysql-test/t/rpl_loaddata.test:
      testcase for bug#1391.
    sql/sql_load.cc:
      fix for bug#1391:
      for a small file, we had in the binlog only the Create_file, not the Delete_file
      (the Create_file was written when the READ_INFO was destroyed).
    dae13b54
rpl_loaddata2.dat 140 Bytes