~ubuntu-branches/ubuntu/hardy/mysql-dfsg-5.0/hardy-updates

« back to all changes in this revision

Viewing changes to mysql-test/t/bdb.test

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-04-02 16:10:53 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20070402161053-zkil9hjq9k5p1uzv
Tags: 5.0.37-0ubuntu1
* New upstream bugfix release.
  - Fixes replication failure with auto-increment and on duplicate key
    update, a regression introduced into 5.0.24. (LP: #95821)
* debian/control: Set Ubuntu maintainer.
* debian/rules: Change comments from 'Debian etch' to 'Ubuntu 7.04'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1019
1019
alter table t1 add primary key(a);
1020
1020
drop table t1;
1021
1021
 
1022
 
 
1023
 
#
1024
 
# Bug #16206: Superfluous COMMIT event in binlog when updating BDB in autocommit mode
1025
 
#
1026
 
set autocommit=1;
1027
 
 
1028
 
let $VERSION=`select version()`;
1029
 
 
1030
 
reset master;
1031
 
create table bug16206 (a int);
1032
 
insert into bug16206 values(1);
1033
 
start transaction;
1034
 
insert into bug16206 values(2);
1035
 
commit;
1036
 
--replace_result $VERSION VERSION
1037
 
--replace_column 1 f 2 n 5 n
1038
 
show binlog events;
1039
 
drop table bug16206;
1040
 
 
1041
 
reset master;
1042
 
create table bug16206 (a int) engine=         bdb;
1043
 
insert into bug16206 values(0);
1044
 
insert into bug16206 values(1);
1045
 
start transaction;
1046
 
insert into bug16206 values(2);
1047
 
commit;
1048
 
insert into bug16206 values(3);
1049
 
--replace_result $VERSION VERSION
1050
 
--replace_column 1 f 2 n 5 n
1051
 
show binlog events;
1052
 
drop table bug16206;
1053
 
 
1054
 
set autocommit=0;
1055
 
 
1056
 
 
1057
1022
--echo End of 5.0 tests