1
by brian
clean slate |
1 |
#
|
2 |
# Test for bug by voi@ims.at |
|
3 |
#
|
|
4 |
||
5 |
--disable_warnings |
|
6 |
drop table if exists test; |
|
7 |
--enable_warnings |
|
8 |
CREATE TABLE test ( |
|
9 |
gnr INT(10) UNSIGNED NOT NULL AUTO_INCREMENT, |
|
10 |
url VARCHAR(80) DEFAULT '' NOT NULL, |
|
11 |
shortdesc VARCHAR(200) DEFAULT '' NOT NULL, |
|
12 |
longdesc text DEFAULT '' NOT NULL, |
|
13 |
description VARCHAR(80) DEFAULT '' NOT NULL, |
|
14 |
name VARCHAR(80) DEFAULT '' NOT NULL, |
|
15 |
FULLTEXT(url,description,shortdesc,longdesc), |
|
16 |
PRIMARY KEY(gnr) |
|
17 |
);
|
|
18 |
||
19 |
insert into test (url,shortdesc,longdesc,description,name) VALUES |
|
20 |
("http:/test.at", "kurz", "lang","desc", "name"); |
|
21 |
insert into test (url,shortdesc,longdesc,description,name) VALUES |
|
22 |
("http:/test.at", "kurz", "","desc", "name"); |
|
23 |
update test set url='test', description='ddd', name='nam' where gnr=2; |
|
24 |
update test set url='test', shortdesc='ggg', longdesc='mmm', |
|
25 |
description='ddd', name='nam' where gnr=2; |
|
26 |
check table test; |
|
27 |
drop table test; |
|
28 |
||
29 |
# End of 4.1 tests |