Commit 85510db9 authored by unknown's avatar unknown

Merged from main 5.1

parent 81e32ad0
...@@ -1030,6 +1030,7 @@ select * from t2; ...@@ -1030,6 +1030,7 @@ select * from t2;
c c
NULL NULL
1 1
Two
Three Three
lock table t2 write, t3 read; lock table t2 write, t3 read;
alter table t2 change c vc varchar(100) default "Four", rename to t1; alter table t2 change c vc varchar(100) default "Four", rename to t1;
...@@ -1046,6 +1047,7 @@ select * from t1; ...@@ -1046,6 +1047,7 @@ select * from t1;
vc vc
NULL NULL
1 1
Two
Three Three
Four Four
drop tables t1, t3; drop tables t1, t3;
......
...@@ -122,13 +122,15 @@ SELECT * FROM t1 ORDER BY id; ...@@ -122,13 +122,15 @@ SELECT * FROM t1 ORDER BY id;
id c ts id c ts
1 manually TIMESTAMP 1 manually TIMESTAMP
2 from justonce TIMESTAMP 2 from justonce TIMESTAMP
affected rows: 2 4 from er TIMESTAMP
affected rows: 3
"Checking event data on the slave" "Checking event data on the slave"
SELECT * FROM t1 ORDER BY id; SELECT * FROM t1 ORDER BY id;
id c ts id c ts
1 manually TIMESTAMP 1 manually TIMESTAMP
2 from justonce TIMESTAMP 2 from justonce TIMESTAMP
affected rows: 2 4 from er TIMESTAMP
affected rows: 3
"Checking event is inactive on slave" "Checking event is inactive on slave"
SELECT db, name, status, originator FROM mysql.event WHERE db = 'test' AND name = 'justonce'; SELECT db, name, status, originator FROM mysql.event WHERE db = 'test' AND name = 'justonce';
db name status originator db name status originator
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment