summaryrefslogtreecommitdiff
path: root/mysql-test/t/bdb_notembedded.test
diff options
context:
space:
mode:
authorunknown <mhansson/martin@linux-st28.site>2007-12-14 12:40:39 +0100
committerunknown <mhansson/martin@linux-st28.site>2007-12-14 12:40:39 +0100
commita9e05bf7586b3ab83d93a54e793dacbd8dec5846 (patch)
tree1514881498b2ad7c26d18c70c7e78ab6fc6c365d /mysql-test/t/bdb_notembedded.test
parent666efa1c43344a0b4dbe815e57333647d4d8f2b3 (diff)
parent0c4b3f5784fa1af52bd978c1280180c2d659367f (diff)
downloadmariadb-git-a9e05bf7586b3ab83d93a54e793dacbd8dec5846.tar.gz
Merge linux-st28.site:/home/martin/mysql/src/bug32798-united/my50-bug32798-united
into linux-st28.site:/home/martin/mysql/src/bug32798-united/my51-bug32798-united mysql-test/r/func_gconcat.result: Auto merged mysql-test/t/func_gconcat.test: Auto merged sql/item_sum.cc: Manual merge, Field::cmp has argument type const uchar* in 5.1 sql/item_sum.h: manual merge
Diffstat (limited to 'mysql-test/t/bdb_notembedded.test')
-rw-r--r--mysql-test/t/bdb_notembedded.test38
1 files changed, 38 insertions, 0 deletions
diff --git a/mysql-test/t/bdb_notembedded.test b/mysql-test/t/bdb_notembedded.test
new file mode 100644
index 00000000000..24e64ebbfb2
--- /dev/null
+++ b/mysql-test/t/bdb_notembedded.test
@@ -0,0 +1,38 @@
+-- source include/not_embedded.inc
+-- source include/have_bdb.inc
+
+#
+# Bug #16206: Superfluous COMMIT event in binlog when updating BDB in autocommit mode
+#
+set autocommit=1;
+
+let $VERSION=`select version()`;
+
+reset master;
+create table bug16206 (a int);
+insert into bug16206 values(1);
+start transaction;
+insert into bug16206 values(2);
+commit;
+--replace_result $VERSION VERSION
+--replace_column 1 f 2 n 5 n
+show binlog events;
+drop table bug16206;
+
+reset master;
+create table bug16206 (a int) engine= bdb;
+insert into bug16206 values(0);
+insert into bug16206 values(1);
+start transaction;
+insert into bug16206 values(2);
+commit;
+insert into bug16206 values(3);
+--replace_result $VERSION VERSION
+--replace_column 1 f 2 n 5 n
+show binlog events;
+drop table bug16206;
+
+set autocommit=0;
+
+
+--echo End of 5.0 tests