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

« back to all changes in this revision

Viewing changes to mysql-test/r/multi_update.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:
602
602
a       b
603
603
3       1
604
604
4       4
605
 
show master status /* there must be the UPDATE query event */;
606
 
File    Position        Binlog_Do_DB    Binlog_Ignore_DB
607
 
master-bin.000001       206             
608
605
delete from t1;
609
606
delete from t2;
610
607
insert into t1 values (1,2),(3,4),(4,4);
612
609
reset master;
613
610
UPDATE t2,t1  SET t2.a=t2.b where t2.a=t1.a;
614
611
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
615
 
show master status /* there must be the UPDATE query event */;
616
 
File    Position        Binlog_Do_DB    Binlog_Ignore_DB
617
 
master-bin.000001       221             
618
612
drop table t1, t2;
619
613
set @@session.binlog_format= @sav_binlog_format;
620
614
drop table if exists t1, t2, t3;