Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
56a36c71
Commit
56a36c71
authored
Oct 12, 2001
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql-test/r/fulltext*.result updated
parent
38bd84b7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
16 deletions
+16
-16
mysql-test/r/fulltext_cache.result
mysql-test/r/fulltext_cache.result
+2
-2
mysql-test/r/fulltext_left_join.result
mysql-test/r/fulltext_left_join.result
+1
-1
mysql-test/r/fulltext_multi.result
mysql-test/r/fulltext_multi.result
+4
-4
mysql-test/r/fulltext_order_by.result
mysql-test/r/fulltext_order_by.result
+9
-9
No files found.
mysql-test/r/fulltext_cache.result
View file @
56a36c71
...
@@ -24,7 +24,7 @@ INSERT INTO t2 VALUES (8,1,'Pizza de Salmao');
...
@@ -24,7 +24,7 @@ INSERT INTO t2 VALUES (8,1,'Pizza de Salmao');
SELECT t1.q, t2.item, t2.id, MATCH t2.item AGAINST ('sushi') as x FROM t1, t2
SELECT t1.q, t2.item, t2.id, MATCH t2.item AGAINST ('sushi') as x FROM t1, t2
WHERE (t2.id2 = t1.id) ORDER BY x DESC,t2.id;
WHERE (t2.id2 = t1.id) ORDER BY x DESC,t2.id;
q item id x
q item id x
aaaaaaaaa dsaass de sushi 1 1.9237866
5219675
aaaaaaaaa dsaass de sushi 1 1.9237866
4016724
aaaaaaaaa dsaass de Bolo de Chocolate 2 0
aaaaaaaaa dsaass de Bolo de Chocolate 2 0
aaaaaaaaa dsaass de Feijoada 3 0
aaaaaaaaa dsaass de Feijoada 3 0
aaaaaaaaa dsaass de Mousse de Chocolate 4 0
aaaaaaaaa dsaass de Mousse de Chocolate 4 0
...
@@ -35,7 +35,7 @@ aaaaaaaaa dsaass de Pizza de Salmao 8 0
...
@@ -35,7 +35,7 @@ aaaaaaaaa dsaass de Pizza de Salmao 8 0
SELECT t1.q, t2.item, t2.id, MATCH t2.item AGAINST ('sushi') as x FROM t2, t1
SELECT t1.q, t2.item, t2.id, MATCH t2.item AGAINST ('sushi') as x FROM t2, t1
WHERE (t2.id2 = t1.id) ORDER BY x DESC,t2.id;
WHERE (t2.id2 = t1.id) ORDER BY x DESC,t2.id;
q item id x
q item id x
aaaaaaaaa dsaass de sushi 1 1.9237866
5219675
aaaaaaaaa dsaass de sushi 1 1.9237866
4016724
aaaaaaaaa dsaass de Bolo de Chocolate 2 0
aaaaaaaaa dsaass de Bolo de Chocolate 2 0
aaaaaaaaa dsaass de Feijoada 3 0
aaaaaaaaa dsaass de Feijoada 3 0
aaaaaaaaa dsaass de Mousse de Chocolate 4 0
aaaaaaaaa dsaass de Mousse de Chocolate 4 0
...
...
mysql-test/r/fulltext_left_join.result
View file @
56a36c71
...
@@ -20,6 +20,6 @@ from t1 left join t2 on t2.id=t1.id;
...
@@ -20,6 +20,6 @@ from t1 left join t2 on t2.id=t1.id;
match(t1.texte,t1.sujet,t1.motsclefs) against('droit')
match(t1.texte,t1.sujet,t1.motsclefs) against('droit')
0
0
0
0
0.670031
10026735
0.670031
07070923
0
0
drop table t1, t2;
drop table t1, t2;
mysql-test/r/fulltext_multi.result
View file @
56a36c71
...
@@ -14,17 +14,17 @@ INSERT INTO t1 VALUES (2,'asdf fdsa','lkjh fghj');
...
@@ -14,17 +14,17 @@ INSERT INTO t1 VALUES (2,'asdf fdsa','lkjh fghj');
INSERT INTO t1 VALUES (3,'qpwoei','zmxnvb');
INSERT INTO t1 VALUES (3,'qpwoei','zmxnvb');
SELECT a, MATCH b AGAINST ('lala lkjh') FROM t1;
SELECT a, MATCH b AGAINST ('lala lkjh') FROM t1;
a MATCH b AGAINST ('lala lkjh')
a MATCH b AGAINST ('lala lkjh')
1 0.670031
10026735
1 0.670031
07070923
2 0
2 0
3 0
3 0
SELECT a, MATCH c AGAINST ('lala lkjh') FROM t1;
SELECT a, MATCH c AGAINST ('lala lkjh') FROM t1;
a MATCH c AGAINST ('lala lkjh')
a MATCH c AGAINST ('lala lkjh')
1 0
1 0
2 0.6775632
4121582
2 0.6775632
5006485
3 0
3 0
SELECT a, MATCH b,c AGAINST ('lala lkjh') FROM t1;
SELECT a, MATCH b,c AGAINST ('lala lkjh') FROM t1;
a MATCH b,c AGAINST ('lala lkjh')
a MATCH b,c AGAINST ('lala lkjh')
1 0.64840710
366884
1 0.64840710
163116
2 0.66266459
031789
2 0.66266459
226608
3 0
3 0
drop table t1;
drop table t1;
mysql-test/r/fulltext_order_by.result
View file @
56a36c71
...
@@ -9,19 +9,19 @@ INSERT INTO t1 (message) VALUES ("Testing"),("table"),("testbug"),
...
@@ -9,19 +9,19 @@ INSERT INTO t1 (message) VALUES ("Testing"),("table"),("testbug"),
("steve"),("is"),("cool"),("steve is cool");
("steve"),("is"),("cool"),("steve is cool");
SELECT a, MATCH (message) AGAINST ('steve') FROM t1 WHERE MATCH (message) AGAINST ('steve');
SELECT a, MATCH (message) AGAINST ('steve') FROM t1 WHERE MATCH (message) AGAINST ('steve');
a MATCH (message) AGAINST ('steve')
a MATCH (message) AGAINST ('steve')
4 0.9058732
1329654
4 0.9058732
3904037
7 0.895689
88462614
7 0.895689
90468979
SELECT a, MATCH (message) AGAINST ('steve') FROM t1 WHERE MATCH (message) AGAINST ('steve') ORDER BY a;
SELECT a, MATCH (message) AGAINST ('steve') FROM t1 WHERE MATCH (message) AGAINST ('steve') ORDER BY a;
a MATCH (message) AGAINST ('steve')
a MATCH (message) AGAINST ('steve')
4 0.9058732
1329654
4 0.9058732
3904037
7 0.895689
88462614
7 0.895689
90468979
SELECT a, MATCH (message) AGAINST ('steve') FROM t1 WHERE a in (2,7,4) and MATCH (message) AGAINST ('steve') ORDER BY a DESC;
SELECT a, MATCH (message) AGAINST ('steve') FROM t1 WHERE a in (2,7,4) and MATCH (message) AGAINST ('steve') ORDER BY a DESC;
a MATCH (message) AGAINST ('steve')
a MATCH (message) AGAINST ('steve')
7 0.895689
88462614
7 0.895689
90468979
4 0.9058732
1329654
4 0.9058732
3904037
SELECT a, MATCH (message) AGAINST ('steve') FROM t1 WHERE a=7 and MATCH (message) AGAINST ('steve') ORDER BY 1;
SELECT a, MATCH (message) AGAINST ('steve') FROM t1 WHERE a=7 and MATCH (message) AGAINST ('steve') ORDER BY 1;
a MATCH (message) AGAINST ('steve')
a MATCH (message) AGAINST ('steve')
7 0.895689
88462614
7 0.895689
90468979
SELECT a, MATCH (message) AGAINST ('steve') as rel FROM t1 ORDER BY rel;
SELECT a, MATCH (message) AGAINST ('steve') as rel FROM t1 ORDER BY rel;
a rel
a rel
1 0
1 0
...
@@ -29,6 +29,6 @@ a rel
...
@@ -29,6 +29,6 @@ a rel
3 0
3 0
5 0
5 0
6 0
6 0
7 0.895689
88462614
7 0.895689
90468979
4 0.9058732
1329654
4 0.9058732
3904037
drop table t1;
drop table t1;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment