diff options
author | unknown <serg@serg.mysql.com> | 2001-07-27 16:48:33 +0200 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2001-07-27 16:48:33 +0200 |
commit | 3221600e62166fa9ba1d49c6daea537c86137d9a (patch) | |
tree | b7709ccadda6653245a1b4b8ae36c0a390f8db44 /mysql-test | |
parent | 29ef9455578c37f5581609171bb1abc7d0410162 (diff) | |
download | mariadb-git-3221600e62166fa9ba1d49c6daea537c86137d9a.tar.gz |
fulltext_update.result BitKeeper file /usr/home/serg/Abk/mysql/mysql-test/r/fulltext_update.result
fulltext_update.test BitKeeper file /usr/home/serg/Abk/mysql/mysql-test/t/fulltext_update.test
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/fulltext_update.result | 2 | ||||
-rw-r--r-- | mysql-test/t/fulltext_update.test | 25 |
2 files changed, 27 insertions, 0 deletions
diff --git a/mysql-test/r/fulltext_update.result b/mysql-test/r/fulltext_update.result new file mode 100644 index 00000000000..77ee76ad30d --- /dev/null +++ b/mysql-test/r/fulltext_update.result @@ -0,0 +1,2 @@ +Table Op Msg_type Msg_text +test.test check status OK diff --git a/mysql-test/t/fulltext_update.test b/mysql-test/t/fulltext_update.test new file mode 100644 index 00000000000..9e2ce3ccba5 --- /dev/null +++ b/mysql-test/t/fulltext_update.test @@ -0,0 +1,25 @@ +# +# Test for bug by voi@ims.at +# + +drop table if exists test; +CREATE TABLE test ( + gnr INT(10) UNSIGNED NOT NULL AUTO_INCREMENT, + url VARCHAR(80) DEFAULT '' NOT NULL, + shortdesc VARCHAR(200) DEFAULT '' NOT NULL, + longdesc text DEFAULT '' NOT NULL, + description VARCHAR(80) DEFAULT '' NOT NULL, + name VARCHAR(80) DEFAULT '' NOT NULL, + FULLTEXT(url,description,shortdesc,longdesc), + PRIMARY KEY(gnr) +); + +insert into test (url,shortdesc,longdesc,description,name) VALUES +("http:/test.at", "kurz", "lang","desc", "name"); +insert into test (url,shortdesc,longdesc,description,name) VALUES +("http:/test.at", "kurz", "","desc", "name"); +update test set url='test', description='ddd', name='nam' where gnr=2; +update test set url='test', shortdesc='ggg', longdesc='mmm', +description='ddd', name='nam' where gnr=2; +check table test; +drop table test; |