summaryrefslogtreecommitdiff
path: root/mysql-test/suite/versioning/r
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-02-24 09:45:46 +0100
committerSergei Golubchik <serg@mariadb.org>2018-02-24 12:29:18 +0100
commit9b59f78d16fb000adeba347cfa4f6e2c3e8f63e1 (patch)
tree52d0726b5047f84a6aa0e7f196760e461e79528b /mysql-test/suite/versioning/r
parentad0f8fef3ddb79d54741fdce04536bf94945b40a (diff)
downloadmariadb-git-9b59f78d16fb000adeba347cfa4f6e2c3e8f63e1.tar.gz
MDEV-15395 Wrong result or Assertion `old_part_id == m_last_part' failed in ha_partition::update_row on slave
Revert commit fd240a10e3a and add a test case
Diffstat (limited to 'mysql-test/suite/versioning/r')
-rw-r--r--mysql-test/suite/versioning/r/rpl.result7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/suite/versioning/r/rpl.result b/mysql-test/suite/versioning/r/rpl.result
index b5845a2d0b2..c5770a91c77 100644
--- a/mysql-test/suite/versioning/r/rpl.result
+++ b/mysql-test/suite/versioning/r/rpl.result
@@ -157,4 +157,11 @@ t1 CREATE TABLE `t1` (
) ENGINE=INNODB_OR_MYISAM DEFAULT CHARSET=latin1 WITH SYSTEM VERSIONING
connection master;
drop table t1, t2;
+create table t1 (i int) with system versioning partition by system_time limit 8 ( partition p1 history, partition p2 history, partition pn current );
+insert into t1 values (1);
+update t1 set i = 1;
+update t1 set i = 0;
+connection slave;
+connection master;
+drop table t1;
include/rpl_end.inc