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
1823ce73
Commit
1823ce73
authored
Nov 16, 2018
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup: rename a flag, keep old name for compatibility
parent
649465db
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
sql/ha_partition.cc
sql/ha_partition.cc
+1
-1
sql/handler.h
sql/handler.h
+2
-1
storage/spider/ha_spider.cc
storage/spider/ha_spider.cc
+2
-2
No files found.
sql/ha_partition.cc
View file @
1823ce73
...
...
@@ -5281,7 +5281,7 @@ bool ha_partition::init_record_priority_queue()
/* Initialize priority queue, initialized to reading forward. */
int
(
*
cmp_func
)(
void
*
,
uchar
*
,
uchar
*
);
void
*
cmp_arg
=
(
void
*
)
this
;
if
(
!
m_using_extended_keys
&&
!
(
table_flags
()
&
HA_
CMP_REF_IS_EXPENSIVE
))
if
(
!
m_using_extended_keys
&&
!
(
table_flags
()
&
HA_
SLOW_CMP_REF
))
cmp_func
=
cmp_key_rowid_part_id
;
else
cmp_func
=
cmp_key_part_id
;
...
...
sql/handler.h
View file @
1823ce73
...
...
@@ -305,7 +305,8 @@ enum enum_alter_inplace_result {
#define HA_CAN_MULTISTEP_MERGE (1LL << 53)
/* calling cmp_ref() on the engine is expensive */
#define HA_CMP_REF_IS_EXPENSIVE (1ULL << 54)
#define HA_SLOW_CMP_REF (1ULL << 54)
#define HA_CMP_REF_IS_EXPENSIVE HA_SLOW_CMP_REF
/* bits in index_flags(index_number) for what you can do with index */
...
...
storage/spider/ha_spider.cc
View file @
1823ce73
...
...
@@ -9392,8 +9392,8 @@ ulonglong ha_spider::table_flags() const
HA_BINLOG_ROW_CAPABLE
|
HA_BINLOG_STMT_CAPABLE
|
HA_PARTIAL_COLUMN_READ
|
#ifdef HA_
CMP_REF_IS_EXPENSIVE
HA_
CMP_REF_IS_EXPENSIVE
|
#ifdef HA_
SLOW_CMP_REF
HA_
SLOW_CMP_REF
|
#endif
#ifdef SPIDER_ENGINE_CONDITION_PUSHDOWN_IS_ALWAYS_ON
HA_CAN_TABLE_CONDITION_PUSHDOWN
|
...
...
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