~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/suite/binlog/r/binlog_innodb.result

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-06-21 15:31:05 UTC
  • mfrom: (1.1.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20100621153105-pbbz3t6nyrf9t2zq
Tags: upstream-5.1.48
ImportĀ upstreamĀ versionĀ 5.1.48

Show diffs side-by-side

added added

removed removed

Lines of Context:
156
156
a       b
157
157
1       1
158
158
4       4
159
 
show master status /* there must no UPDATE in binlog */;
160
 
File    Position        Binlog_Do_DB    Binlog_Ignore_DB
161
 
master-bin.000001       106             
 
159
# There must no UPDATE in binlog;
 
160
show binlog events from <binlog_start>;
 
161
Log_name        Pos     Event_type      Server_id       End_log_pos     Info
162
162
delete from t1;
163
163
delete from t2;
164
164
insert into t1 values (1,2),(3,4),(4,4);
166
166
reset master;
167
167
UPDATE t2,t1  SET t2.a=t2.b where t2.a=t1.a;
168
168
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
169
 
show master status /* there must be no UPDATE query event */;
170
 
File    Position        Binlog_Do_DB    Binlog_Ignore_DB
171
 
master-bin.000001       106             
 
169
# There must be no UPDATE query event;
 
170
show binlog events from <binlog_start>;
 
171
Log_name        Pos     Event_type      Server_id       End_log_pos     Info
172
172
drop table t1, t2;
173
173
End of tests