mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
b5615eff0d
Idea comes from MySQL which does something similar
14 lines
368 B
Text
14 lines
368 B
Text
CREATE TABLE film_text (
|
|
film_id SMALLINT NOT NULL,
|
|
title VARCHAR(255) NOT NULL,
|
|
description TEXT,
|
|
PRIMARY KEY (film_id),
|
|
FULLTEXT KEY idx_title_description (title,description),
|
|
FULLTEXT KEY (description),
|
|
FULLTEXT KEY (title)
|
|
)ENGINE=InnoDB DEFAULT CHARSET=utf8 ENCRYPTED=YES;
|
|
# shutdown server
|
|
# remove datadir
|
|
# xtrabackup move back
|
|
# restart
|
|
drop table film_text;
|