mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 01:04:19 +01:00
27d45e4696
Update InnoDB to 5.6.14 Apply MySQL-5.6 hack for MySQL Bug#16434374 Move Aria-only HA_RTREE_INDEX from my_base.h to maria_def.h (breaks an assert in InnoDB) Fix InnoDB memory leak
29 lines
1 KiB
Text
29 lines
1 KiB
Text
INSTALL PLUGIN simple_parser SONAME 'mypluglib';
|
|
CREATE TABLE articles (
|
|
id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY,
|
|
title VARCHAR(200),
|
|
body TEXT,
|
|
FULLTEXT (title) WITH PARSER simple_parser
|
|
) ENGINE=MyISAM;
|
|
ALTER TABLE articles ENGINE=InnoDB;
|
|
ERROR HY000: Cannot CREATE FULLTEXT INDEX WITH PARSER on InnoDB table
|
|
DROP TABLE articles;
|
|
CREATE TABLE articles (
|
|
id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY,
|
|
title VARCHAR(200),
|
|
body TEXT,
|
|
FULLTEXT (title) WITH PARSER simple_parser
|
|
) ENGINE=InnoDB;
|
|
ERROR HY000: Cannot CREATE FULLTEXT INDEX WITH PARSER on InnoDB table
|
|
CREATE TABLE articles (
|
|
id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY,
|
|
title VARCHAR(200),
|
|
body TEXT,
|
|
FULLTEXT (title)
|
|
) ENGINE=InnoDB;
|
|
ALTER TABLE articles ADD FULLTEXT INDEX (body) WITH PARSER simple_parser;
|
|
ERROR HY000: Cannot CREATE FULLTEXT INDEX WITH PARSER on InnoDB table
|
|
CREATE FULLTEXT INDEX ft_index ON articles(body) WITH PARSER simple_parser;
|
|
ERROR HY000: Cannot CREATE FULLTEXT INDEX WITH PARSER on InnoDB table
|
|
DROP TABLE articles;
|
|
UNINSTALL PLUGIN simple_parser;
|