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
42959038
Commit
42959038
authored
Jan 05, 2001
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql
parents
6793a602
2a45213e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
0 deletions
+33
-0
mysql-test/r/fulltext_left_join.result
mysql-test/r/fulltext_left_join.result
+5
-0
mysql-test/t/fulltext_left_join.test
mysql-test/t/fulltext_left_join.test
+25
-0
sql/sql_select.cc
sql/sql_select.cc
+3
-0
No files found.
mysql-test/r/fulltext_left_join.result
0 → 100644
View file @
42959038
match(t1.texte,t1.sujet,t1.motsclefs) against('droit')
0
0
0.67003110026735
0
mysql-test/t/fulltext_left_join.test
0 → 100644
View file @
42959038
#
# Test for bug from Jean-Cdric COSTA <jean-cedric.costa@ensmp.fr>
#
CREATE
TABLE
t1
(
id
VARCHAR
(
255
)
NOT
NULL
PRIMARY
KEY
,
sujet
VARCHAR
(
255
),
motsclefs
TEXT
,
texte
MEDIUMTEXT
,
FULLTEXT
(
sujet
,
motsclefs
,
texte
)
);
INSERT
INTO
t1
VALUES
(
'123'
,
'toto'
,
'essai'
,
'test'
);
INSERT
INTO
t1
VALUES
(
'456'
,
'droit'
,
'penal'
,
'lawyer'
);
INSERT
INTO
t1
VALUES
(
'789'
,
'aaaaa'
,
'bbbbb'
,
'cccccc'
);
CREATE
TABLE
t2
(
id
VARCHAR
(
255
)
NOT
NULL
,
author
VARCHAR
(
255
)
NOT
NULL
);
INSERT
INTO
t2
VALUES
(
'123'
,
'moi'
);
INSERT
INTO
t2
VALUES
(
'123'
,
'lui'
);
INSERT
INTO
t2
VALUES
(
'456'
,
'lui'
);
select
match
(
t1
.
texte
,
t1
.
sujet
,
t1
.
motsclefs
)
against
(
'droit'
)
from
t1
left
join
t2
on
t2
.
id
=
t1
.
id
;
sql/sql_select.cc
View file @
42959038
...
...
@@ -1329,6 +1329,9 @@ add_ft_keys(DYNAMIC_ARRAY *keyuse_array,
{
Item_func_match
*
cond_func
=
NULL
;
if
(
!
cond
)
return
;
if
(
cond
->
type
()
==
Item
::
FUNC_ITEM
)
{
Item_func
*
func
=
(
Item_func
*
)
cond
,
...
...
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