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
8c401b55
Commit
8c401b55
authored
Nov 23, 2004
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ha_myisammrg was missing index_type() method bug#6756
parent
3bda4d47
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
sql/ha_myisammrg.cc
sql/ha_myisammrg.cc
+11
-0
sql/ha_myisammrg.h
sql/ha_myisammrg.h
+1
-0
No files found.
sql/ha_myisammrg.cc
View file @
8c401b55
...
@@ -35,6 +35,17 @@
...
@@ -35,6 +35,17 @@
const
char
**
ha_myisammrg
::
bas_ext
()
const
const
char
**
ha_myisammrg
::
bas_ext
()
const
{
static
const
char
*
ext
[]
=
{
".MRG"
,
NullS
};
return
ext
;
}
{
static
const
char
*
ext
[]
=
{
".MRG"
,
NullS
};
return
ext
;
}
const
char
*
ha_myisammrg
::
index_type
(
uint
key_number
)
{
return
((
table
->
key_info
[
key_number
].
flags
&
HA_FULLTEXT
)
?
"FULLTEXT"
:
(
table
->
key_info
[
key_number
].
flags
&
HA_SPATIAL
)
?
"SPATIAL"
:
(
table
->
key_info
[
key_number
].
algorithm
==
HA_KEY_ALG_RTREE
)
?
"RTREE"
:
"BTREE"
);
}
int
ha_myisammrg
::
open
(
const
char
*
name
,
int
mode
,
uint
test_if_locked
)
int
ha_myisammrg
::
open
(
const
char
*
name
,
int
mode
,
uint
test_if_locked
)
{
{
...
...
sql/ha_myisammrg.h
View file @
8c401b55
...
@@ -32,6 +32,7 @@ class ha_myisammrg: public handler
...
@@ -32,6 +32,7 @@ class ha_myisammrg: public handler
~
ha_myisammrg
()
{}
~
ha_myisammrg
()
{}
const
char
*
table_type
()
const
{
return
"MRG_MyISAM"
;
}
const
char
*
table_type
()
const
{
return
"MRG_MyISAM"
;
}
const
char
**
bas_ext
()
const
;
const
char
**
bas_ext
()
const
;
const
char
*
index_type
(
uint
key_number
);
ulong
table_flags
()
const
ulong
table_flags
()
const
{
{
return
(
HA_REC_NOT_IN_SEQ
|
HA_AUTO_PART_KEY
|
HA_READ_RND_SAME
|
return
(
HA_REC_NOT_IN_SEQ
|
HA_AUTO_PART_KEY
|
HA_READ_RND_SAME
|
...
...
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