Debian Codegraph @

mysql-test/suite/innodb_fts/r/fulltext_update.result

raw
1 drop table if exists test;
2 CREATE TABLE test (
3 gnr INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
4 url VARCHAR(80) DEFAULT '' NOT NULL,
5 shortdesc VARCHAR(200) DEFAULT '' NOT NULL,
6 longdesc text DEFAULT '' NOT NULL,
7 description VARCHAR(80) DEFAULT '' NOT NULL,
8 name VARCHAR(80) DEFAULT '' NOT NULL,
9 FULLTEXT(url,description,shortdesc,longdesc),
10 PRIMARY KEY(gnr)
11 ) ENGINE = InnoDB;
12 insert into test (url,shortdesc,longdesc,description,name) VALUES
13 ("http:/test.at", "kurz", "lang","desc", "name");
14 insert into test (url,shortdesc,longdesc,description,name) VALUES
15 ("http:/test.at", "kurz", "","desc", "name");
16 update test set url='test', description='ddd', name='nam' where gnr=2;
17 update test set url='test', shortdesc='ggg', longdesc='mmm',
18 description='ddd', name='nam' where gnr=2;
19 check table test;
20 Table Op Msg_type Msg_text
21 test.test check status OK
22 drop table test;