diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-05-15 15:12:54 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-05-15 15:13:33 +0200 |
commit | 0e296947db503eed2db5b995676f4d9a454c9001 (patch) | |
tree | 99fac9ab8bdefb43489f81857c5d9e8ac80588d3 | |
parent | 182db5a1b79e0be27e8191f9bea7c8cd3dbe22a3 (diff) | |
download | mariadb-git-0e296947db503eed2db5b995676f4d9a454c9001.tar.gz |
add missing test result
followup for 21bcfeb9961
-rw-r--r-- | storage/rocksdb/mysql-test/rocksdb/r/mariadb_port_fixes.result | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/storage/rocksdb/mysql-test/rocksdb/r/mariadb_port_fixes.result b/storage/rocksdb/mysql-test/rocksdb/r/mariadb_port_fixes.result index eeb261d22e7..e9fe026120a 100644 --- a/storage/rocksdb/mysql-test/rocksdb/r/mariadb_port_fixes.result +++ b/storage/rocksdb/mysql-test/rocksdb/r/mariadb_port_fixes.result @@ -96,3 +96,14 @@ CREATE TABLE t1 (a INT) ENGINE=RocksDB; INSERT INTO t1 VALUES (1); ALTER TABLE t1 AUTO_INCREMENT 10; DROP TABLE t1; +# +# MDEV-16155: UPDATE on RocksDB table with unique constraint does not work +# +CREATE TABLE t1 (a INT, b CHAR(8), UNIQUE INDEX(a)) ENGINE=RocksDB; +INSERT INTO t1 (a,b) VALUES (1,'foo'),(2,'bar'); +UPDATE t1 SET a=a+100; +SELECT * FROM t1; +a b +101 foo +102 bar +DROP TABLE t1; |