summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-06-11 20:26:24 -0600
committerunknown <sasha@mysql.sashanet.com>2001-06-11 20:26:24 -0600
commit54fe14e2f6d4249b4317dd8e9d4473fb665a468c (patch)
tree3c24d57faaa30800620be86906896f7e391f9d62
parent8b76fb7f3ef18727fcc1b06733fd190a0741a321 (diff)
downloadmariadb-git-54fe14e2f6d4249b4317dd8e9d4473fb665a468c.tar.gz
send a separate commit message to internals
added a test for check table BitKeeper/triggers/post-commit: send a separate commit message to internals BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
-rw-r--r--BitKeeper/etc/logging_ok1
-rwxr-xr-xBitKeeper/triggers/post-commit19
-rw-r--r--mysql-test/r/check.result2
-rw-r--r--mysql-test/t/check.test18
4 files changed, 39 insertions, 1 deletions
diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok
index d5d02afc3d1..2f120a649dc 100644
--- a/BitKeeper/etc/logging_ok
+++ b/BitKeeper/etc/logging_ok
@@ -4,3 +4,4 @@ monty@tik.mysql.fi
mwagner@evoq.mwagner.org
paul@teton.kitebird.com
monty@hundin.mysql.fi
+sasha@mysql.sashanet.com
diff --git a/BitKeeper/triggers/post-commit b/BitKeeper/triggers/post-commit
index b84dc543e0a..619b6f88cea 100755
--- a/BitKeeper/triggers/post-commit
+++ b/BitKeeper/triggers/post-commit
@@ -3,6 +3,7 @@
#shift
TO=dev-public@mysql.com
FROM=$USER@mysql.com
+INTERNALS=internals@lists.mysql.com
LIMIT=10000
if [ "$REAL_EMAIL" = "" ]
@@ -22,7 +23,23 @@ then
List-ID: <bk.mysql>
From: $FROM
To: $TO
-Subject: bk commit
+Subject: bk commit into 3.23 tree
+
+EOF
+ bk changes -v -r+
+ bk cset -r+ -d
+ ) | head -n $LIMIT | /usr/sbin/sendmail -t
+ echo "Notifying internals list at $INTERNALS"
+ (
+ cat <<EOF
+List-ID: <bk.mysql>
+From: $FROM
+To: $INTERNALS
+Subject: bk commit into 3.23 tree
+
+Below is the list of changes that have just been pushed into main
+3.23. repository. For information on how to access the repository
+see http://www.mysql.com/doc/I/n/Installing_source_tree.html
EOF
bk changes -v -r+
diff --git a/mysql-test/r/check.result b/mysql-test/r/check.result
new file mode 100644
index 00000000000..694d7429a14
--- /dev/null
+++ b/mysql-test/r/check.result
@@ -0,0 +1,2 @@
+Table Op Msg_type Msg_text
+test.t1 check status OK
diff --git a/mysql-test/t/check.test b/mysql-test/t/check.test
new file mode 100644
index 00000000000..e65a61d86da
--- /dev/null
+++ b/mysql-test/t/check.test
@@ -0,0 +1,18 @@
+connect (con1,localhost,root,,);
+connect (con2,localhost,root,,);
+connection con1;
+drop table if exists t1;
+#add a lot of keys to slow down check
+create table t1(n int not null, key(n), key(n), key(n), key(n));
+let $1=10000;
+while ($1)
+{
+ eval insert into t1 values ($1);
+ dec $1;
+}
+send check table t1 type=extended;
+connection con2;
+insert into t1 values (200000);
+connection con1;
+reap;
+