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
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
Show 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 (
...
@@ -172,9 +172,9 @@ CREATE TABLE t1 (
id int(11) auto_increment,
id int(11) auto_increment,
title varchar(100) default '',
title varchar(100) default '',
PRIMARY KEY (id),
PRIMARY KEY (id),
KEY ind5 (title),
KEY ind5 (title)
FULLTEXT KEY FT1 (title)
) TYPE=MyISAM;
) TYPE=MyISAM;
CREATE FULLTEXT INDEX ft1 ON t1(title);
insert into t1 (title) values ('this is a test');
insert into t1 (title) values ('this is a test');
select * from t1 where match title against ('test' in boolean mode);
select * from t1 where match title against ('test' in boolean mode);
id title
id title
...
...
mysql-test/t/fulltext.test
View file @
7a08f365
...
@@ -135,10 +135,10 @@ CREATE TABLE t1 (
...
@@ -135,10 +135,10 @@ CREATE TABLE t1 (
id
int
(
11
)
auto_increment
,
id
int
(
11
)
auto_increment
,
title
varchar
(
100
)
default
''
,
title
varchar
(
100
)
default
''
,
PRIMARY
KEY
(
id
),
PRIMARY
KEY
(
id
),
KEY
ind5
(
title
),
KEY
ind5
(
title
)
FULLTEXT
KEY
FT1
(
title
)
)
TYPE
=
MyISAM
;
)
TYPE
=
MyISAM
;
CREATE
FULLTEXT
INDEX
ft1
ON
t1
(
title
);
insert
into
t1
(
title
)
values
(
'this is a test'
);
insert
into
t1
(
title
)
values
(
'this is a test'
);
select
*
from
t1
where
match
title
against
(
'test'
in
boolean
mode
);
select
*
from
t1
where
match
title
against
(
'test'
in
boolean
mode
);
update
t1
set
title
=
'this is A test'
where
id
=
1
;
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:
...
@@ -1498,7 +1498,9 @@ keys_or_index:
opt_unique_or_fulltext:
opt_unique_or_fulltext:
/* empty */ { $$= Key::MULTIPLE; }
/* empty */ { $$= Key::MULTIPLE; }
| UNIQUE_SYM { $$= Key::UNIQUE; }
| UNIQUE_SYM { $$= Key::UNIQUE; }
| SPATIAL_SYM { $$= Key::SPATIAL; };
| FULLTEXT_SYM { $$= Key::FULLTEXT;}
| SPATIAL_SYM { $$= Key::SPATIAL; }
;
key_alg:
key_alg:
/* empty */ { $$= HA_KEY_ALG_UNDEF; }
/* 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