~ubuntu-branches/ubuntu/gutsy/mysql-dfsg-5.0/gutsy

« back to all changes in this revision

Viewing changes to mysql-test/r/rpl_known_bugs_detection.result

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-04-03 09:43:01 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20070403094301-fnjhfr59hu72pvtg
Tags: 5.0.38-0ubuntu1
* Package the Enterprise version again (.37 was a community version), since
  Debian and we have always done so. This brings in a few more bug fixes and
  makes functional derivations less likely.
* debian/README.Maintainer: Add pointer to upstream download URL, since it
  is very hard to find the Enterprise versions.
* Disable 33_scripts__mysql_create_system_tables__no_test.dpatch, since that
  script was removed upstream.
* debian/patches/41_scripts__mysql_install_db.sh__no_test.dpatch: Adapted to
  changed formatting in new upstream version.
* Remove debian/patches/86_PATH_MAX.dpatch, fixed upstream.
* Add debian/patches/90_org_tables_definition.dpatch: Fix local variable
  declaration in libmysqld/sql_parse.cc to fix compilation with
  EMBEDDED_LIBRARY.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
stop slave;
 
2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 
3
reset master;
 
4
reset slave;
 
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 
6
start slave;
 
7
CREATE TABLE t1 (a INT NOT NULL PRIMARY KEY AUTO_INCREMENT, b INT,
 
8
UNIQUE(b));
 
9
INSERT INTO t1(b) VALUES(1),(1),(2) ON DUPLICATE KEY UPDATE t1.b=10;
 
10
SELECT * FROM t1;
 
11
a       b
 
12
1       10
 
13
2       2
 
14
show slave status;;
 
15
Slave_IO_State  #
 
16
Master_Host     127.0.0.1
 
17
Master_User     root
 
18
Master_Port     #
 
19
Connect_Retry   1
 
20
Master_Log_File master-bin.000001
 
21
Read_Master_Log_Pos     #
 
22
Relay_Log_File  #
 
23
Relay_Log_Pos   #
 
24
Relay_Master_Log_File   master-bin.000001
 
25
Slave_IO_Running        Yes
 
26
Slave_SQL_Running       No
 
27
Replicate_Do_DB 
 
28
Replicate_Ignore_DB     
 
29
Replicate_Do_Table      
 
30
Replicate_Ignore_Table  
 
31
Replicate_Wild_Do_Table 
 
32
Replicate_Wild_Ignore_Table     
 
33
Last_Errno      1105
 
34
Last_Error      Error 'master may suffer from http://bugs.mysql.com/bug.php?id=24432 so slave stops; check error log on slave for more info' on query. Default database: 'test'. Query: 'INSERT INTO t1(b) VALUES(1),(1),(2) ON DUPLICATE KEY UPDATE t1.b=10'
 
35
Skip_Counter    0
 
36
Exec_Master_Log_Pos     238
 
37
Relay_Log_Space #
 
38
Until_Condition None
 
39
Until_Log_File  
 
40
Until_Log_Pos   0
 
41
Master_SSL_Allowed      No
 
42
Master_SSL_CA_File      
 
43
Master_SSL_CA_Path      
 
44
Master_SSL_Cert 
 
45
Master_SSL_Cipher       
 
46
Master_SSL_Key  
 
47
Seconds_Behind_Master   #
 
48
SELECT * FROM t1;
 
49
a       b
 
50
stop slave;
 
51
reset slave;
 
52
reset master;
 
53
drop table t1;
 
54
start slave;
 
55
CREATE TABLE t1 (
 
56
id bigint(20) unsigned NOT NULL auto_increment,
 
57
field_1 int(10) unsigned NOT NULL,
 
58
field_2 varchar(255) NOT NULL,
 
59
field_3 varchar(255) NOT NULL,
 
60
PRIMARY KEY (id),
 
61
UNIQUE KEY field_1 (field_1, field_2)
 
62
);
 
63
CREATE TABLE t2 (
 
64
field_a int(10) unsigned NOT NULL,
 
65
field_b varchar(255) NOT NULL,
 
66
field_c varchar(255) NOT NULL
 
67
);
 
68
INSERT INTO t2 (field_a, field_b, field_c) VALUES (1, 'a', '1a');
 
69
INSERT INTO t2 (field_a, field_b, field_c) VALUES (2, 'b', '2b');
 
70
INSERT INTO t2 (field_a, field_b, field_c) VALUES (3, 'c', '3c');
 
71
INSERT INTO t2 (field_a, field_b, field_c) VALUES (4, 'd', '4d');
 
72
INSERT INTO t2 (field_a, field_b, field_c) VALUES (5, 'e', '5e');
 
73
INSERT INTO t1 (field_1, field_2, field_3)
 
74
SELECT t2.field_a, t2.field_b, t2.field_c
 
75
FROM t2
 
76
ON DUPLICATE KEY UPDATE
 
77
t1.field_3 = t2.field_c;
 
78
INSERT INTO t2 (field_a, field_b, field_c) VALUES (6, 'f', '6f');
 
79
INSERT INTO t1 (field_1, field_2, field_3)
 
80
SELECT t2.field_a, t2.field_b, t2.field_c
 
81
FROM t2
 
82
ON DUPLICATE KEY UPDATE
 
83
t1.field_3 = t2.field_c;
 
84
SELECT * FROM t1;
 
85
id      field_1 field_2 field_3
 
86
1       1       a       1a
 
87
2       2       b       2b
 
88
3       3       c       3c
 
89
4       4       d       4d
 
90
5       5       e       5e
 
91
6       6       f       6f
 
92
show slave status;;
 
93
Slave_IO_State  #
 
94
Master_Host     127.0.0.1
 
95
Master_User     root
 
96
Master_Port     #
 
97
Connect_Retry   1
 
98
Master_Log_File master-bin.000001
 
99
Read_Master_Log_Pos     #
 
100
Relay_Log_File  #
 
101
Relay_Log_Pos   #
 
102
Relay_Master_Log_File   master-bin.000001
 
103
Slave_IO_Running        Yes
 
104
Slave_SQL_Running       No
 
105
Replicate_Do_DB 
 
106
Replicate_Ignore_DB     
 
107
Replicate_Do_Table      
 
108
Replicate_Ignore_Table  
 
109
Replicate_Wild_Do_Table 
 
110
Replicate_Wild_Ignore_Table     
 
111
Last_Errno      1105
 
112
Last_Error      Error 'master may suffer from http://bugs.mysql.com/bug.php?id=24432 so slave stops; check error log on slave for more info' on query. Default database: 'test'. Query: 'INSERT INTO t1 (field_1, field_2, field_3)
 
113
SELECT t2.field_a, t2.field_b, t2.field_c
 
114
FROM t2
 
115
ON DUPLICATE KEY UPDATE
 
116
t1.field_3 = t2.field_c'
 
117
Skip_Counter    0
 
118
Exec_Master_Log_Pos     1270
 
119
Relay_Log_Space #
 
120
Until_Condition None
 
121
Until_Log_File  
 
122
Until_Log_Pos   0
 
123
Master_SSL_Allowed      No
 
124
Master_SSL_CA_File      
 
125
Master_SSL_CA_Path      
 
126
Master_SSL_Cert 
 
127
Master_SSL_Cipher       
 
128
Master_SSL_Key  
 
129
Seconds_Behind_Master   #
 
130
SELECT * FROM t1;
 
131
id      field_1 field_2 field_3
 
132
drop table t1, t2;
 
133
drop table t1, t2;