diff options
author | unknown <sasha@mysql.sashanet.com> | 2001-03-26 21:03:08 -0700 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2001-03-26 21:03:08 -0700 |
commit | 33ec68e127d515bc98be3ba0d9f88ec0d4e2b5f3 (patch) | |
tree | 86db6f1e0056dd5735062e20a91924f0afd7f9db /mysql-test/t/rpl000016.test | |
parent | 219682ef86a240014dce8649a15380b390863f30 (diff) | |
download | mariadb-git-33ec68e127d515bc98be3ba0d9f88ec0d4e2b5f3.tar.gz |
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
Diffstat (limited to 'mysql-test/t/rpl000016.test')
-rw-r--r-- | mysql-test/t/rpl000016.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/t/rpl000016.test b/mysql-test/t/rpl000016.test index a12fde7eb4c..be694b0e434 100644 --- a/mysql-test/t/rpl000016.test +++ b/mysql-test/t/rpl000016.test @@ -85,7 +85,11 @@ slave stop; slave start; sync_with_master; show slave status; +# because of concurrent insert, the table may not be up to date +# if we do not lock +lock tables t3 read; select count(*) from t3 where n = 4; +unlock tables; #clean up connection master; drop table if exists t1,t2,t3; |