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
f433ec12
Commit
f433ec12
authored
Jan 19, 2001
by
serg@donna.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ha_myisam.cc magic removed
ha_myisam.h magic removed
parent
ff4839a9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
13 deletions
+4
-13
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
sql/ha_myisam.cc
sql/ha_myisam.cc
+2
-12
sql/ha_myisam.h
sql/ha_myisam.h
+1
-1
No files found.
BitKeeper/etc/logging_ok
View file @
f433ec12
...
@@ -2,3 +2,4 @@ mwagner@work.mysql.com
...
@@ -2,3 +2,4 @@ mwagner@work.mysql.com
sasha@mysql.sashanet.com
sasha@mysql.sashanet.com
sasha@work.mysql.com
sasha@work.mysql.com
tim@cane.mysql.fi
tim@cane.mysql.fi
serg@donna.mysql.com
sql/ha_myisam.cc
View file @
f433ec12
...
@@ -1136,19 +1136,9 @@ int ha_myisam::ft_read(byte * buf)
...
@@ -1136,19 +1136,9 @@ int ha_myisam::ft_read(byte * buf)
thread_safe_increment
(
ha_read_next_count
,
&
LOCK_status
);
// why ?
thread_safe_increment
(
ha_read_next_count
,
&
LOCK_status
);
// why ?
if
((
error
=
ft_read_next
((
FT_DOCLIST
*
)
ft_handler
,(
char
*
)
buf
)))
error
=
ft_read_next
((
FT_DOCLIST
*
)
ft_handler
,(
char
*
)
buf
);
ft_handler
=
NULL
;
// Magic here ! See Item_func_match::val()
// and ha_myisam::index_init()
table
->
status
=
error
?
STATUS_NOT_FOUND
:
0
;
table
->
status
=
error
?
STATUS_NOT_FOUND
:
0
;
return
error
;
return
error
;
}
}
int
ha_myisam
::
index_init
(
uint
idx
)
{
if
(
idx
!=
active_index
)
ft_handler
=
NULL
;
// Magic here !
active_index
=
idx
;
return
0
;
}
sql/ha_myisam.h
View file @
f433ec12
...
@@ -71,7 +71,7 @@ class ha_myisam: public handler
...
@@ -71,7 +71,7 @@ class ha_myisam: public handler
int
index_first
(
byte
*
buf
);
int
index_first
(
byte
*
buf
);
int
index_last
(
byte
*
buf
);
int
index_last
(
byte
*
buf
);
int
index_next_same
(
byte
*
buf
,
const
byte
*
key
,
uint
keylen
);
int
index_next_same
(
byte
*
buf
,
const
byte
*
key
,
uint
keylen
);
int
index_
init
(
uint
idx
);
int
index_
end
()
{
ft_handler
=
NULL
;
return
0
;
}
int
ft_init
()
int
ft_init
()
{
if
(
!
ft_handler
)
return
1
;
ft_reinit_search
(
ft_handler
);
return
0
;
}
{
if
(
!
ft_handler
)
return
1
;
ft_reinit_search
(
ft_handler
);
return
0
;
}
void
*
ft_init_ext
(
uint
inx
,
const
byte
*
key
,
uint
keylen
,
bool
presort
)
void
*
ft_init_ext
(
uint
inx
,
const
byte
*
key
,
uint
keylen
,
bool
presort
)
...
...
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