mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
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
This commit is contained in:
@ -4,3 +4,4 @@ monty@tik.mysql.fi
|
||||
mwagner@evoq.mwagner.org
|
||||
paul@teton.kitebird.com
|
||||
monty@hundin.mysql.fi
|
||||
sasha@mysql.sashanet.com
|
||||
|
@ -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+
|
||||
|
2
mysql-test/r/check.result
Normal file
2
mysql-test/r/check.result
Normal file
@ -0,0 +1,2 @@
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
18
mysql-test/t/check.test
Normal file
18
mysql-test/t/check.test
Normal file
@ -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;
|
||||
|
Reference in New Issue
Block a user