summaryrefslogtreecommitdiff
path: root/Build-tools
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-08-18 16:04:26 +0300
committermonty@hundin.mysql.fi <>2002-08-18 16:04:26 +0300
commita5edb200421018ee967045903b2802c2d5c1bd75 (patch)
treeaf1548211472940ebe3bad8ee24a4d2ab26f2c92 /Build-tools
parentf7c8bd0e47b8a037f4eb0a7dca2816af97604d07 (diff)
downloadmariadb-git-a5edb200421018ee967045903b2802c2d5c1bd75.tar.gz
Fixed timing problem with rpl000001 replication test.
Fixed configure problems with HPUX and openbsd SHOW SLAVE STATUS returns empty set if slave is not initialized SHOW MASTER STATUS returns empty set if binary logging is not enabled. Fixed shutdown problem on Solaris.
Diffstat (limited to 'Build-tools')
-rwxr-xr-xBuild-tools/Do-compile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Build-tools/Do-compile b/Build-tools/Do-compile
index 58bd2e49a38..d262fc82f94 100755
--- a/Build-tools/Do-compile
+++ b/Build-tools/Do-compile
@@ -118,8 +118,12 @@ if ($opt_stage == 0 && ! $opt_use_old_distribution)
safe_system("gunzip < $opt_distribution | $tar xf -");
# Fix file times; This is needed because the time for files may be
- # in the future
- system("touch timestamp; find . -newer timestamp -print | xargs touch; rm -f timestamp");
+ # in the future. The following is done this way to ensure that
+ # we don't get any errors from xargs touch
+ system("touch timestamp");
+ sleep(2);
+ system("touch timestamp2");
+ system("find . -newer timestamp -print | xargs touch; rm -f timestamp");
sleep(2);
# Ensure that files we don't want to rebuild are newer than other files
safe_cd($ver);