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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
2e453e7b
Commit
2e453e7b
authored
Jan 07, 2001
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
item_func.h bugfix
fulltext_cache.test drop table added
parent
c857519a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
mysql-test/t/fulltext_cache.test
mysql-test/t/fulltext_cache.test
+5
-2
sql/item_func.h
sql/item_func.h
+4
-2
No files found.
mysql-test/t/fulltext_cache.test
View file @
2e453e7b
...
...
@@ -25,8 +25,11 @@ INSERT INTO t2 VALUES (6,2,'um chocolate Snickers');
INSERT
INTO
t2
VALUES
(
7
,
1
,
'Bife'
);
INSERT
INTO
t2
VALUES
(
8
,
1
,
'Pizza de Salmao'
);
SELECT
item
,
id
,
MATCH
item
AGAINST
(
'sushi'
)
as
x
FROM
t2
ORDER
BY
x
DESC
;
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
;
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
;
drop
table
t1
,
t2
;
sql/item_func.h
View file @
2e453e7b
...
...
@@ -849,9 +849,11 @@ class Item_func_match :public Item_real_func
if
(
!
master
)
{
if
(
ft_handler
)
{
ft_close_search
(
ft_handler
);
if
(
join_key
)
table
->
file
->
ft_handler
=
0
;
if
(
join_key
)
table
->
file
->
ft_handler
=
0
;
}
}
}
const
char
*
func_name
()
const
{
return
"match"
;
}
...
...
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