~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
DROP TABLE IF EXISTS t1, t2, t3;
2
==== Read modern binlog (version 5.1.23) ====
3
SELECT * FROM t1 ORDER BY a;
4
a	b
5
0	last_insert_id
6
1	one
7
3	last stm in trx: next event should be xid
8
4	four
9
674568	random
10
SELECT * FROM t2 ORDER BY a;
11
a	b
12
3	first stm in trx
13
SELECT COUNT(*) FROM t3;
14
COUNT(*)
15
17920
16
DROP TABLE t1, t2, t3;
17
==== Read binlog from version 5.1.17 ====
18
SELECT * FROM t1 ORDER BY a;
19
a	b
20
0	last_insert_id
21
1	one
22
3	last stm in trx: next event should be xid
23
4	four
24
764247	random
25
SELECT * FROM t2 ORDER BY a;
26
a	b
27
3	first stm in trx
28
SELECT COUNT(*) FROM t3;
29
COUNT(*)
30
17920
31
DROP TABLE t1, t2, t3;
32
==== Read binlog from version 4.1 ====
33
SELECT * FROM t1 ORDER BY a;
34
a	b
35
0	last_insert_id
36
4	four
37
190243	random
38
SELECT COUNT(*) FROM t3;
39
COUNT(*)
40
17920
41
DROP TABLE t1, t3;
42
==== Read binlog from alcatel tree (mysql-5.1-wl2325-5.0-drop6) ====
43
SELECT * FROM t1 ORDER BY a;
44
a	b
45
0	last_insert_id
46
1	one
47
3	last stm in trx: next event should be xid
48
4	four
49
781729	random
50
SELECT * FROM t2 ORDER BY a;
51
a	b
52
3	first stm in trx
53
SELECT COUNT(*) FROM t3;
54
COUNT(*)
55
17920
56
DROP TABLE t1, t2, t3;
57
==== Read binlog from ndb tree (mysql-5.1-telco-6.1) ====
58
SELECT * FROM t1 ORDER BY a;
59
a	b
60
0	last_insert_id
61
1	one
62
3	last stm in trx: next event should be xid
63
4	four
64
703356	random
65
SELECT * FROM t2 ORDER BY a;
66
a	b
67
3	first stm in trx
68
SELECT COUNT(*) FROM t3;
69
COUNT(*)
70
17920
71
DROP TABLE t1, t2, t3;