config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/innodb_fts/r/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/innodb_fts/r/foreign_key_update.result

CREATE TABLE t1 (
a	varchar(40),
KEY	a(a)
) ENGINE=InnoDB;
CREATE TABLE t1_fk (
a	varchar(40),
KEY	a(a),
FULLTEXT KEY (a),
CONSTRAINT fk FOREIGN KEY (a) REFERENCES t1 (a) ON UPDATE CASCADE
) ENGINE=InnoDB;
INSERT INTO t1 VALUES('mysql');
INSERT INTO t1_fk VALUES('mysql');
INSERT INTO t1_fk VALUES('mysql');
SELECT * FROM t1_fk;
a
mysql
mysql
SELECT * FROM t1_fk WHERE MATCH(a) AGAINST('mysql');
a
mysql
mysql
UPDATE t1 SET a = 'database' WHERE a = 'mysql';
SELECT * FROM t1_fk;
a
database
database
SELECT * FROM t1_fk WHERE MATCH(a) AGAINST('mysql');
a
SELECT * FROM t1_fk WHERE MATCH(a) AGAINST('database');
a
database
database
DROP TABLE t1_fk;
DROP TABLE t1;

Man Man