1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-07 04:01:59 +03:00
mariadb/mysql-test/t/flush.test
unknown 33ec68e127 worked around gcc bug to make compile-pentium-gcov work
increase coverage for table.cc in mysql_rm_table()
ingore temporary gcov files
fixed bug in replication test case


BitKeeper/etc/ignore:
  added *.da
BUILD/compile-pentium-gcov:
  do not build shared libraries - combination of -fPIC and the coverage flags
  triggers a bug in gcc, apparently - problem went away after adding
  --disable-shared
mysql-test/t/flush.test:
  extra test to increase coverage of table.cc
mysql-test/t/rpl000016.test:
  fixed bug in test case - insert may be concurrent, so we may read the
  table on the slave before the last insert becomes visible even when the 
  master position is up to date if we do not
  lock it explicitly
2001-03-26 21:03:08 -07:00

35 lines
623 B
Plaintext

connect (con1,localhost,root,,);
connect (con2,localhost,root,,);
connection con1;
drop table if exists t1;
create temporary table t1(n int not null primary key);
drop table if exists t2;
create table t2(n int);
insert into t2 values(3);
let $1=100;
while ($1)
{
connection con1;
send replace into t1 select n from t2;
connection con2;
send flush tables;
connection con1;
reap;
connection con2;
reap;
dec $1;
}
connection con1;
select * from t1;
connection con2;
flush tables with read lock;
--error 1099;
drop table t2;
connection con1;
send drop table t2;
connection con2;
unlock tables;
connection con1;
reap;