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
9068a78c
Commit
9068a78c
authored
Dec 15, 2000
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
myrg_open.c empty MRG bug fixed again (fix from 1.8 was removed in 1.9)
parent
502149c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
myisammrg/myrg_open.c
myisammrg/myrg_open.c
+3
-1
mysql-test/t/ft0000001.test
mysql-test/t/ft0000001.test
+3
-3
No files found.
myisammrg/myrg_open.c
View file @
9068a78c
...
...
@@ -110,7 +110,9 @@ int handle_locking;
my_errno
=
HA_ERR_RECORD_FILE_FULL
;
goto
err
;
}
m_info
->
keys
=
m_info
->
open_tables
->
table
->
s
->
base
.
keys
;
if
(
files
)
m_info
->
keys
=
m_info
->
open_tables
->
table
->
s
->
base
.
keys
;
bzero
((
char
*
)
&
m_info
->
by_key
,
sizeof
(
m_info
->
by_key
));
m_info
->
end_table
=
m_info
->
open_tables
+
files
;
...
...
mysql-test/t/ft0000001.test
View file @
9068a78c
...
...
@@ -9,9 +9,9 @@ INSERT INTO test (message) VALUES ("Testing"),("table"),("testbug"),
(
"steve"
),(
"is"
),(
"cool"
),(
"steve is cool"
);
# basic MATCH
@
r
/
ft0000001
.
a
.
result
SELECT
a
,
MATCH
(
message
)
AGAINST
(
'steve'
)
FROM
test
WHERE
MATCH
(
message
)
AGAINST
(
'steve'
);
# MATCH + ORDER BY (w
/o
ft-ranges)
@
r
/
ft0000001
.
b
.
result
SELECT
a
,
MATCH
(
message
)
AGAINST
(
'steve'
)
FROM
test
WHERE
MATCH
(
message
)
AGAINST
(
'steve'
)
+
0
ORDER
BY
a
;
# MATCH + ORDER BY (w
/ ft-
ranges) + UNIQUE
# MATCH + ORDER BY (w
ith
ft-ranges)
@
r
/
ft0000001
.
b
.
result
SELECT
a
,
MATCH
(
message
)
AGAINST
(
'steve'
)
FROM
test
WHERE
MATCH
(
message
)
AGAINST
(
'steve'
)
ORDER
BY
a
;
# MATCH + ORDER BY (w
ith normal
ranges) + UNIQUE
@
r
/
ft0000001
.
c
.
result
SELECT
a
,
MATCH
(
message
)
AGAINST
(
'steve'
)
FROM
test
WHERE
a
in
(
2
,
7
,
4
)
and
MATCH
(
message
)
AGAINST
(
'steve'
)
ORDER
BY
a
DESC
;
# MATCH + ORDER BY + UNIQUE (const_table)
@
r
/
ft0000001
.
d
.
result
SELECT
a
,
MATCH
(
message
)
AGAINST
(
'steve'
)
FROM
test
WHERE
a
=
7
and
MATCH
(
message
)
AGAINST
(
'steve'
)
ORDER
BY
1
;
...
...
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