summaryrefslogtreecommitdiff
path: root/mysql-test/extra
diff options
context:
space:
mode:
authorunknown <mats@romeo.(none)>2007-02-26 10:43:31 +0100
committerunknown <mats@romeo.(none)>2007-02-26 10:43:31 +0100
commitec7a703bb442bf41e499161a876c7d9841b9c045 (patch)
tree9114a9c4691d2db207ec88107e685247ed66befb /mysql-test/extra
parent56e143c5e28e1220bd04417549f7f6e1b6fd7545 (diff)
parentcdfc516d46353477ac3ec79aa3474a4520e66e72 (diff)
downloadmariadb-git-ec7a703bb442bf41e499161a876c7d9841b9c045.tar.gz
Merge romeo.(none):/home/bkroot/mysql-5.1-new-rpl
into romeo.(none):/home/bk/b25091-mysql-5.1-new-rpl sql/handler.cc: Auto merged sql/log.cc: Auto merged sql/sp.cc: Auto merged sql/table.h: Auto merged
Diffstat (limited to 'mysql-test/extra')
-rw-r--r--mysql-test/extra/binlog_tests/binlog.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/extra/binlog_tests/binlog.test b/mysql-test/extra/binlog_tests/binlog.test
index 48d9b859c26..834edcff474 100644
--- a/mysql-test/extra/binlog_tests/binlog.test
+++ b/mysql-test/extra/binlog_tests/binlog.test
@@ -67,6 +67,19 @@ create table if not exists t2 select * from t1;
create temporary table tt1 (a int);
create table if not exists t3 like tt1;
+# BUG#25091 (A DELETE statement to mysql database is not logged with
+# ROW mode format): Checking that some basic operations on tables in
+# the mysql database is replicated even when the current database is
+# 'mysql'.
+
+--disable_warnings
+USE mysql;
+INSERT INTO user SET host='localhost', user='@#@', password=password('Just a test');
+UPDATE user SET password=password('Another password') WHERE host='localhost' AND user='@#@';
+DELETE FROM user WHERE host='localhost' AND user='@#@';
+--enable_warnings
+
+use test;
--replace_column 2 # 5 #
--replace_regex /table_id: [0-9]+/table_id: #/ /\/\* xid=.* \*\//\/* xid= *\//
show binlog events from 102;