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
3beefe8f
Commit
3beefe8f
authored
Jan 28, 2022
by
Nayuta Yanagisawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-27645 Spider: remove #ifdef HA_MRR_USE_DEFAULT_IMPL
parent
7ba46121
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
463 deletions
+0
-463
storage/spider/ha_spider.cc
storage/spider/ha_spider.cc
+0
-424
storage/spider/ha_spider.h
storage/spider/ha_spider.h
+0
-39
No files found.
storage/spider/ha_spider.cc
View file @
3beefe8f
This diff is collapsed.
Click to expand it.
storage/spider/ha_spider.h
View file @
3beefe8f
...
...
@@ -108,15 +108,11 @@ class ha_spider final : public handler
bool
mrr_with_cnt
;
uint
multi_range_cnt
;
uint
multi_range_hit_point
;
#ifdef HA_MRR_USE_DEFAULT_IMPL
int
multi_range_num
;
bool
have_second_range
;
KEY_MULTI_RANGE
mrr_second_range
;
spider_string
*
mrr_key_buff
;
range_id_t
*
multi_range_keys
;
#else
KEY_MULTI_RANGE
*
multi_range_ranges
;
#endif
char
*
append_tblnm_alias
;
uint
append_tblnm_alias_length
;
...
...
@@ -264,7 +260,6 @@ class ha_spider final : public handler
int
read_range_next
();
void
reset_no_where_cond
();
bool
check_no_where_cond
();
#ifdef HA_MRR_USE_DEFAULT_IMPL
ha_rows
multi_range_read_info_const
(
uint
keyno
,
RANGE_SEQ_IF
*
seq
,
...
...
@@ -299,18 +294,6 @@ class ha_spider final : public handler
int
multi_range_read_next_next
(
range_id_t
*
range_info
);
#else
int
read_multi_range_first
(
KEY_MULTI_RANGE
**
found_range_p
,
KEY_MULTI_RANGE
*
ranges
,
uint
range_count
,
bool
sorted
,
HANDLER_BUFFER
*
buffer
);
int
read_multi_range_next
(
KEY_MULTI_RANGE
**
found_range_p
);
#endif
int
rnd_init
(
bool
scan
);
...
...
@@ -352,20 +335,9 @@ class ha_spider final : public handler
key_part_map
keypart_map
,
bool
use_parallel
);
#ifdef HA_MRR_USE_DEFAULT_IMPL
int
pre_multi_range_read_next
(
bool
use_parallel
);
#else
int
pre_read_multi_range_first
(
KEY_MULTI_RANGE
**
found_range_p
,
KEY_MULTI_RANGE
*
ranges
,
uint
range_count
,
bool
sorted
,
HANDLER_BUFFER
*
buffer
,
bool
use_parallel
);
#endif
int
pre_read_range_first
(
const
key_range
*
start_key
,
const
key_range
*
end_key
,
...
...
@@ -725,17 +697,6 @@ class ha_spider final : public handler
bool
eq_range
,
bool
sorted
);
#ifdef HA_MRR_USE_DEFAULT_IMPL
#else
int
read_multi_range_first_internal
(
uchar
*
buf
,
KEY_MULTI_RANGE
**
found_range_p
,
KEY_MULTI_RANGE
*
ranges
,
uint
range_count
,
bool
sorted
,
HANDLER_BUFFER
*
buffer
);
#endif
int
ft_read_internal
(
uchar
*
buf
);
int
rnd_next_internal
(
uchar
*
buf
);
void
check_pre_call
(
...
...
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