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
589a21c6
Commit
589a21c6
authored
Mar 10, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-21580: Fix clang -Winconsistent-missing-override
parent
e40858a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
sql/field.h
sql/field.h
+10
-10
No files found.
sql/field.h
View file @
589a21c6
...
...
@@ -1546,7 +1546,7 @@ class Field: public Value_source
{
return
length
;}
virtual
uint
max_packed_col_length
(
uint
max_length
)
{
return
max_length
;}
virtual
bool
is_packable
()
{
return
false
;
}
virtual
bool
is_packable
()
const
{
return
false
;
}
uint
offset
(
const
uchar
*
record
)
const
{
...
...
@@ -2139,12 +2139,12 @@ class Field_longstr :public Field_str
{}
enum_conv_type
rpl_conv_type_from
(
const
Conv_source
&
source
,
const
Relay_log_info
*
rli
,
const
Conv_param
&
param
)
const
;
int
store_decimal
(
const
my_decimal
*
d
);
uint32
max_data_length
()
const
;
const
Conv_param
&
param
)
const
override
;
int
store_decimal
(
const
my_decimal
*
d
)
override
;
uint32
max_data_length
()
const
override
;
void
make_send_field
(
Send_field
*
)
override
;
bool
is_varchar_and_in_write_set
()
const
bool
is_varchar_and_in_write_set
()
const
override
{
DBUG_ASSERT
(
table
&&
table
->
write_set
);
return
bitmap_is_set
(
table
->
write_set
,
field_index
);
...
...
@@ -2152,15 +2152,15 @@ class Field_longstr :public Field_str
bool
match_collation_to_optimize_range
()
const
{
return
true
;
}
bool
can_optimize_keypart_ref
(
const
Item_bool_func
*
cond
,
const
Item
*
item
)
const
;
const
Item
*
item
)
const
override
;
bool
can_optimize_hash_join
(
const
Item_bool_func
*
cond
,
const
Item
*
item
)
const
;
const
Item
*
item
)
const
override
;
bool
can_optimize_group_min_max
(
const
Item_bool_func
*
cond
,
const
Item
*
const_item
)
const
;
const
Item
*
const_item
)
const
override
;
bool
can_optimize_range
(
const
Item_bool_func
*
cond
,
const
Item
*
item
,
bool
is_eq_func
)
const
;
bool
is_packable
()
override
{
return
true
;
}
bool
is_eq_func
)
const
override
;
bool
is_packable
()
const
override
{
return
true
;
}
uint
make_packed_sort_key_part
(
uchar
*
buff
,
const
SORT_FIELD_ATTR
*
sort_field
)
override
;
uchar
*
pack_sort_string
(
uchar
*
to
,
const
SORT_FIELD_ATTR
*
sort_field
);
...
...
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