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
b6cb8cb5
Commit
b6cb8cb5
authored
Jun 25, 2004
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Followup to cleanup in handler interface.
parent
8162e97a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
sql/ha_myisam.h
sql/ha_myisam.h
+1
-1
sql/ha_myisammrg.h
sql/ha_myisammrg.h
+1
-1
sql/handler.h
sql/handler.h
+2
-2
No files found.
sql/ha_myisam.h
View file @
b6cb8cb5
...
@@ -63,7 +63,7 @@ class ha_myisam: public handler
...
@@ -63,7 +63,7 @@ class ha_myisam: public handler
}
}
uint
max_supported_keys
()
const
{
return
MI_MAX_KEY
;
}
uint
max_supported_keys
()
const
{
return
MI_MAX_KEY
;
}
uint
max_supported_key_length
()
const
{
return
MI_MAX_KEY_LENGTH
;
}
uint
max_supported_key_length
()
const
{
return
MI_MAX_KEY_LENGTH
;
}
uint
max_supported_key_part_length
()
{
return
MI_MAX_KEY_LENGTH
;
}
uint
max_supported_key_part_length
()
const
{
return
MI_MAX_KEY_LENGTH
;
}
uint
checksum
()
const
;
uint
checksum
()
const
;
int
open
(
const
char
*
name
,
int
mode
,
uint
test_if_locked
);
int
open
(
const
char
*
name
,
int
mode
,
uint
test_if_locked
);
...
...
sql/ha_myisammrg.h
View file @
b6cb8cb5
...
@@ -46,7 +46,7 @@ class ha_myisammrg: public handler
...
@@ -46,7 +46,7 @@ class ha_myisammrg: public handler
}
}
uint
max_supported_keys
()
const
{
return
MI_MAX_KEY
;
}
uint
max_supported_keys
()
const
{
return
MI_MAX_KEY
;
}
uint
max_supported_key_length
()
const
{
return
MI_MAX_KEY_LENGTH
;
}
uint
max_supported_key_length
()
const
{
return
MI_MAX_KEY_LENGTH
;
}
uint
max_supported_key_part_length
()
{
return
MI_MAX_KEY_LENGTH
;
}
uint
max_supported_key_part_length
()
const
{
return
MI_MAX_KEY_LENGTH
;
}
double
scan_time
()
double
scan_time
()
{
return
ulonglong2double
(
data_file_length
)
/
IO_SIZE
+
file
->
tables
;
}
{
return
ulonglong2double
(
data_file_length
)
/
IO_SIZE
+
file
->
tables
;
}
...
...
sql/handler.h
View file @
b6cb8cb5
...
@@ -256,7 +256,6 @@ public:
...
@@ -256,7 +256,6 @@ public:
time_t
create_time
;
/* When table was created */
time_t
create_time
;
/* When table was created */
time_t
check_time
;
time_t
check_time
;
time_t
update_time
;
time_t
update_time
;
enum
{
NONE
=
0
,
INDEX
,
RND
}
inited
;
/* The following are for read_range() */
/* The following are for read_range() */
key_range
save_end_range
,
*
end_range
;
key_range
save_end_range
,
*
end_range
;
...
@@ -273,6 +272,7 @@ public:
...
@@ -273,6 +272,7 @@ public:
uint
raid_type
,
raid_chunks
;
uint
raid_type
,
raid_chunks
;
FT_INFO
*
ft_handler
;
FT_INFO
*
ft_handler
;
bool
auto_increment_column_changed
;
bool
auto_increment_column_changed
;
enum
{
NONE
=
0
,
INDEX
,
RND
}
inited
;
bool
implicit_emptied
;
/* Can be !=0 only if HEAP */
bool
implicit_emptied
;
/* Can be !=0 only if HEAP */
...
@@ -472,7 +472,7 @@ public:
...
@@ -472,7 +472,7 @@ public:
virtual
uint
max_supported_keys
()
const
{
return
0
;
}
virtual
uint
max_supported_keys
()
const
{
return
0
;
}
virtual
uint
max_supported_key_parts
()
const
{
return
MAX_REF_PARTS
;
}
virtual
uint
max_supported_key_parts
()
const
{
return
MAX_REF_PARTS
;
}
virtual
uint
max_supported_key_length
()
const
{
return
MAX_KEY_LENGTH
;
}
virtual
uint
max_supported_key_length
()
const
{
return
MAX_KEY_LENGTH
;
}
virtual
uint
max_supported_key_part_length
()
{
return
255
;
}
virtual
uint
max_supported_key_part_length
()
const
{
return
255
;
}
virtual
uint
min_record_length
(
uint
options
)
const
{
return
1
;
}
virtual
uint
min_record_length
(
uint
options
)
const
{
return
1
;
}
virtual
bool
low_byte_first
()
const
{
return
1
;
}
virtual
bool
low_byte_first
()
const
{
return
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