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
7a08f365
Commit
7a08f365
authored
Jun 16, 2003
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bad merge fixed
parent
60a260d8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
mysql-test/r/fulltext.result
mysql-test/r/fulltext.result
+2
-2
mysql-test/t/fulltext.test
mysql-test/t/fulltext.test
+2
-2
sql/sql_yacc.yy
sql/sql_yacc.yy
+3
-1
No files found.
mysql-test/r/fulltext.result
View file @
7a08f365
...
...
@@ -172,9 +172,9 @@ CREATE TABLE t1 (
id int(11) auto_increment,
title varchar(100) default '',
PRIMARY KEY (id),
KEY ind5 (title),
FULLTEXT KEY FT1 (title)
KEY ind5 (title)
) TYPE=MyISAM;
CREATE FULLTEXT INDEX ft1 ON t1(title);
insert into t1 (title) values ('this is a test');
select * from t1 where match title against ('test' in boolean mode);
id title
...
...
mysql-test/t/fulltext.test
View file @
7a08f365
...
...
@@ -135,10 +135,10 @@ CREATE TABLE t1 (
id
int
(
11
)
auto_increment
,
title
varchar
(
100
)
default
''
,
PRIMARY
KEY
(
id
),
KEY
ind5
(
title
),
FULLTEXT
KEY
FT1
(
title
)
KEY
ind5
(
title
)
)
TYPE
=
MyISAM
;
CREATE
FULLTEXT
INDEX
ft1
ON
t1
(
title
);
insert
into
t1
(
title
)
values
(
'this is a test'
);
select
*
from
t1
where
match
title
against
(
'test'
in
boolean
mode
);
update
t1
set
title
=
'this is A test'
where
id
=
1
;
...
...
sql/sql_yacc.yy
View file @
7a08f365
...
...
@@ -1498,7 +1498,9 @@ keys_or_index:
opt_unique_or_fulltext:
/* empty */ { $$= Key::MULTIPLE; }
| UNIQUE_SYM { $$= Key::UNIQUE; }
| SPATIAL_SYM { $$= Key::SPATIAL; };
| FULLTEXT_SYM { $$= Key::FULLTEXT;}
| SPATIAL_SYM { $$= Key::SPATIAL; }
;
key_alg:
/* empty */ { $$= HA_KEY_ALG_UNDEF; }
...
...
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