Commit 62e6906b authored by sasha@mysql.sashanet.com's avatar sasha@mysql.sashanet.com
Browse files

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
parent dab74107
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -199,3 +199,7 @@ bdb/dist/tags
bdb/build_unix/*
sql/.gdbinit
BitKeeper/etc/level
*.gcov
*.bb
*.bbg
*.da
+1 −1
Original line number Diff line number Diff line
@@ -4,6 +4,6 @@ path=`dirname $0`
. "$path/SETUP.sh"

extra_flags="$pentium_cflags -O2 -fprofile-arcs -ftest-coverage"
extra_configs="$pentium_configs $debug_configs"
extra_configs="$pentium_configs $debug_configs --disable-shared"

. "$path/FINISH.sh"
+9 −0
Original line number Diff line number Diff line
@@ -22,4 +22,13 @@ while ($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;
+4 −0
Original line number Diff line number Diff line
@@ -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;