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
b559a633
Commit
b559a633
authored
Jun 14, 2002
by
Sinisa@sinisa.nasamreza.org
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
f85a002c
078dada4
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
0 deletions
+22
-0
Docs/manual.texi
Docs/manual.texi
+2
-0
mysql-test/r/fulltext.result
mysql-test/r/fulltext.result
+9
-0
mysql-test/t/fulltext.test
mysql-test/t/fulltext.test
+4
-0
sql/sql_select.cc
sql/sql_select.cc
+7
-0
No files found.
Docs/manual.texi
View file @
b559a633
...
@@ -49456,6 +49456,8 @@ Our TODO section contains what we plan to have in 4.0. @xref{TODO MySQL 4.0}.
...
@@ -49456,6 +49456,8 @@ Our TODO section contains what we plan to have in 4.0. @xref{TODO MySQL 4.0}.
@itemize @bullet
@itemize @bullet
@item
@item
Fixed a rare bug when fulltext index is present and no tables are used
@item
Added privileges @code{CREATE TEMPORARY TABLES}, @code{LOCK TABLES},
Added privileges @code{CREATE TEMPORARY TABLES}, @code{LOCK TABLES},
@code{REPLICATION CLIENT}, @code{REPLICATION SLAVE},
@code{REPLICATION CLIENT}, @code{REPLICATION SLAVE},
@code{SHOW DATABASES} and @code{SUPER}. To use these, you must have
@code{SHOW DATABASES} and @code{SUPER}. To use these, you must have
mysql-test/r/fulltext.result
View file @
b559a633
...
@@ -192,3 +192,12 @@ a b
...
@@ -192,3 +192,12 @@ a b
2 fullaaa fullzzz
2 fullaaa fullzzz
1 I wonder why the fulltext index doesnt work?
1 I wonder why the fulltext index doesnt work?
drop table t1;
drop table t1;
CREATE TABLE t1 ( id int(11) NOT NULL auto_increment primary key, mytext text NOT NULL, FULLTEXT KEY mytext (mytext)) TYPE=MyISAM;
INSERT INTO t1 VALUES (1,'my small mouse'),(2,'la-la-la'),(3,'It is so funny'),(4,'MySQL Tutorial');
select 8 from t1;
8
8
8
8
8
drop table t1;
mysql-test/t/fulltext.test
View file @
b559a633
...
@@ -154,4 +154,8 @@ insert into t1 values (2,"fullaaa fullzzz");
...
@@ -154,4 +154,8 @@ insert into t1 values (2,"fullaaa fullzzz");
select
*
from
t1
where
match
b
against
(
'full*'
in
boolean
mode
);
select
*
from
t1
where
match
b
against
(
'full*'
in
boolean
mode
);
drop
table
t1
;
drop
table
t1
;
CREATE
TABLE
t1
(
id
int
(
11
)
NOT
NULL
auto_increment
primary
key
,
mytext
text
NOT
NULL
,
FULLTEXT
KEY
mytext
(
mytext
))
TYPE
=
MyISAM
;
INSERT
INTO
t1
VALUES
(
1
,
'my small mouse'
),(
2
,
'la-la-la'
),(
3
,
'It is so funny'
),(
4
,
'MySQL Tutorial'
);
select
8
from
t1
;
drop
table
t1
;
sql/sql_select.cc
View file @
b559a633
...
@@ -257,7 +257,14 @@ mysql_select(THD *thd,TABLE_LIST *tables,List<Item> &fields,COND *conds,
...
@@ -257,7 +257,14 @@ mysql_select(THD *thd,TABLE_LIST *tables,List<Item> &fields,COND *conds,
}
}
TABLE_LIST
*
table
;
TABLE_LIST
*
table
;
for
(
table
=
tables
;
table
;
table
=
table
->
next
)
for
(
table
=
tables
;
table
;
table
=
table
->
next
)
{
join
.
tables
++
;
join
.
tables
++
;
if
(
!
thd
->
used_tables
)
{
TABLE
*
tbl
=
table
->
table
;
tbl
->
keys_in_use_for_query
=
tbl
->
used_keys
=
tbl
->
keys_in_use
=
0
;
}
}
}
}
procedure
=
setup_procedure
(
thd
,
proc_param
,
result
,
fields
,
&
error
);
procedure
=
setup_procedure
(
thd
,
proc_param
,
result
,
fields
,
&
error
);
if
(
error
)
if
(
error
)
...
...
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