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

fixed bug with temporary tables replication if one does FLUSH LOGS

This commit is contained in:
sasha@mysql.sashanet.com
2001-10-29 18:21:33 -07:00
parent f6321e8b75
commit 7fda1ab9f2
2 changed files with 1 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ insert into t2 select * from t1;
drop table if exists test.t3; drop table if exists test.t3;
create temporary table test.t3 (n int not null); create temporary table test.t3 (n int not null);
alter table test.t3 add primary key(n); alter table test.t3 add primary key(n);
flush logs;
insert into t3 values (100); insert into t3 values (100);
insert into t2 select * from t3; insert into t2 select * from t3;
drop table if exists test.t3; drop table if exists test.t3;

View File

@@ -1104,7 +1104,6 @@ static int exec_event(THD* thd, NET* net, MASTER_INFO* mi, int event_len)
} }
case START_EVENT: case START_EVENT:
close_temporary_tables(thd);
mi->inc_pos(event_len); mi->inc_pos(event_len);
flush_master_info(mi); flush_master_info(mi);
delete ev; delete ev;