mirror of
https://github.com/MariaDB/server.git
synced 2025-07-10 05:18:14 +02:00

Backing up with mariabackup a datadir containing ENGINE=Mroonga tables leaves behind the corresponding *.mrn* files. Those tables are therefore broken once such backup is restored. minor style/mtr changes by Daniel Black
15 lines
410 B
Text
15 lines
410 B
Text
#
|
|
# MDEV-34425 mroonga files are not copied by mariabackup
|
|
#
|
|
CREATE TABLE t(c TEXT, FULLTEXT(c)) ENGINE=Mroonga;
|
|
INSERT INTO t VALUES('Once upon a time'),('There was a wicked witch'),('Who ate everybody up');
|
|
# mariadb-backup backup
|
|
# shutdown server
|
|
# remove datadir
|
|
# xtrabackup move back
|
|
# restart
|
|
SELECT * FROM t WHERE MATCH(c) AGAINST('wicked');
|
|
c
|
|
There was a wicked witch
|
|
DROP TABLE t;
|
|
# End 10.11 tests
|