diff options
| author | Oleksandr Byelkin <sanja@mariadb.com> | 2018-01-11 12:59:30 +0100 |
|---|---|---|
| committer | Oleksandr Byelkin <sanja@mariadb.com> | 2018-01-11 17:24:29 +0100 |
| commit | abb9e703d22b640390ab611dacdcc58ca26e19ba (patch) | |
| tree | 63a2443ec66bf56852ca66171828d88db9858bf7 /mysql-test | |
| parent | 1f18bd630a6b29b427dc5da01077e4f20fb60e01 (diff) | |
| download | mariadb-git-abb9e703d22b640390ab611dacdcc58ca26e19ba.tar.gz | |
MDEV-14690: Assertion `page_link == &fake_link' failed in pagecache_write_part
Fix the call to correspond protocoll of pagecache call.
Fix of misleading variables names.
Diffstat (limited to 'mysql-test')
| -rw-r--r-- | mysql-test/suite/maria/maria.result | 11 | ||||
| -rw-r--r-- | mysql-test/suite/maria/maria.test | 15 |
2 files changed, 26 insertions, 0 deletions
diff --git a/mysql-test/suite/maria/maria.result b/mysql-test/suite/maria/maria.result index 890f6bbfaf5..7f8badb78ae 100644 --- a/mysql-test/suite/maria/maria.result +++ b/mysql-test/suite/maria/maria.result @@ -2686,3 +2686,14 @@ select count(*) from t1; count(*) 13 drop table t1; +# +# MDEV-14690: Assertion `page_link == &fake_link' failed in +# pagecache_write_part +# +CREATE TABLE t1 (a CHAR(8), b CHAR(8), c CHAR(8) NOT NULL DEFAULT '', f FLOAT, KEY(f)) ENGINE=Aria; +INSERT INTO t1 (a) VALUES ('foo'); +DELETE FROM t1 WHERE c < 'bar'; +ALTER TABLE t1 DISABLE KEYS; +INSERT INTO t1 (b) VALUES (''); +ALTER TABLE t1 ENABLE KEYS; +DROP TABLE t1; diff --git a/mysql-test/suite/maria/maria.test b/mysql-test/suite/maria/maria.test index b6a3e2784b6..39a9a06c4c2 100644 --- a/mysql-test/suite/maria/maria.test +++ b/mysql-test/suite/maria/maria.test @@ -1964,6 +1964,21 @@ unlock tables; select count(*) from t1; drop table t1; +--echo # +--echo # MDEV-14690: Assertion `page_link == &fake_link' failed in +--echo # pagecache_write_part +--echo # + +CREATE TABLE t1 (a CHAR(8), b CHAR(8), c CHAR(8) NOT NULL DEFAULT '', f FLOAT, KEY(f)) ENGINE=Aria; +INSERT INTO t1 (a) VALUES ('foo'); +DELETE FROM t1 WHERE c < 'bar'; +ALTER TABLE t1 DISABLE KEYS; +INSERT INTO t1 (b) VALUES (''); +ALTER TABLE t1 ENABLE KEYS; + +# Cleanup +DROP TABLE t1; + # # End of test # |
