1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

worked around one bug in the new symlink code, but hit another

test case included ( drop) - currently fails, along with rpl000009


mysql-test/r/drop.result:
  new test
mysql-test/t/drop.test:
  expose a bug in the new symlink table code
sql/slave.cc:
  turn off symlink bit to avoid a bug
sql/sql_repl.cc:
  turn off symlink bit to avoid a bug
This commit is contained in:
unknown
2001-06-01 15:13:02 -06:00
parent 7f4df54136
commit 3be9c739c1
4 changed files with 18 additions and 2 deletions

View File

@@ -693,7 +693,7 @@ void reset_slave()
pthread_mutex_unlock(&LOCK_slave);
end_master_info(&glob_mi);
fn_format(fname, master_info_file, mysql_data_home, "", 4+16+32);
fn_format(fname, master_info_file, mysql_data_home, "", 4+32);
if(my_stat(fname, &stat_area, MYF(0)))
if(my_delete(fname, MYF(MY_WME)))
return;