1CREATE TABLE th1(a TEXT,FULLTEXT INDEX(a)) ENGINE=MyISAM; 2CREATE TABLE th2(a TEXT,FULLTEXT INDEX(a)) ENGINE=MyISAM; 3CREATE TRIGGER trg_bi BEFORE INSERT ON th1 4FOR EACH ROW 5BEGIN 6INSERT IGNORE INTO th2 SELECT 1 FROM th1 7WHERE MATCH(a) AGAINST ( 'test' IN BOOLEAN MODE); 8END $ 9SET @@debug='+d,simulate_bug18831513'; 10INSERT INTO th1 VALUES(1); 11ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MODE)' at line 2 12SET @@debug='-d,simulate_bug18831513'; 13INSERT INTO th1 VALUES(1); 14DROP TRIGGER trg_bi; 15DROP TABLE th1; 16DROP TABLE th2; 17