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
c32e59ac
Commit
c32e59ac
authored
Feb 10, 2024
by
Oleg Smirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix clang++ errors on missing 'override' specifier
parent
15623c7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
sql/item_sum.h
sql/item_sum.h
+21
-21
No files found.
sql/item_sum.h
View file @
c32e59ac
...
...
@@ -1982,27 +1982,27 @@ class Item_func_group_concat : public Item_sum
Item_func_group_concat
(
THD
*
thd
,
Item_func_group_concat
*
item
);
~
Item_func_group_concat
();
void
cleanup
();
void
cleanup
()
override
;
enum
Sumfunctype
sum_func
()
const
{
return
GROUP_CONCAT_FUNC
;}
const
char
*
func_name
()
const
{
return
"group_concat("
;
}
const
Type_handler
*
type_handler
()
const
enum
Sumfunctype
sum_func
()
const
override
{
return
GROUP_CONCAT_FUNC
;}
const
char
*
func_name
()
const
override
{
return
"group_concat("
;
}
const
Type_handler
*
type_handler
()
const
override
{
if
(
too_big_for_varchar
())
return
&
type_handler_blob
;
return
&
type_handler_varchar
;
}
void
clear
();
bool
add
()
void
clear
()
override
;
bool
add
()
override
{
return
add
(
skip_nulls
());
}
void
reset_field
()
{
DBUG_ASSERT
(
0
);
}
// not used
void
update_field
()
{
DBUG_ASSERT
(
0
);
}
// not used
bool
fix_fields
(
THD
*
,
Item
**
);
bool
setup
(
THD
*
thd
);
void
make_unique
();
double
val_real
()
void
reset_field
()
override
{
DBUG_ASSERT
(
0
);
}
// not used
void
update_field
()
override
{
DBUG_ASSERT
(
0
);
}
// not used
bool
fix_fields
(
THD
*
,
Item
**
)
override
;
bool
setup
(
THD
*
thd
)
override
;
void
make_unique
()
override
;
double
val_real
()
override
{
int
error
;
const
char
*
end
;
...
...
@@ -2012,7 +2012,7 @@ class Item_func_group_concat : public Item_sum
end
=
res
->
ptr
()
+
res
->
length
();
return
(
my_strtod
(
res
->
ptr
(),
(
char
**
)
&
end
,
&
error
));
}
longlong
val_int
()
longlong
val_int
()
override
{
String
*
res
;
char
*
end_ptr
;
...
...
@@ -2022,21 +2022,21 @@ class Item_func_group_concat : public Item_sum
end_ptr
=
(
char
*
)
res
->
ptr
()
+
res
->
length
();
return
my_strtoll10
(
res
->
ptr
(),
&
end_ptr
,
&
error
);
}
my_decimal
*
val_decimal
(
my_decimal
*
decimal_value
)
my_decimal
*
val_decimal
(
my_decimal
*
decimal_value
)
override
{
return
val_decimal_from_string
(
decimal_value
);
}
bool
get_date
(
THD
*
thd
,
MYSQL_TIME
*
ltime
,
date_mode_t
fuzzydate
)
bool
get_date
(
THD
*
thd
,
MYSQL_TIME
*
ltime
,
date_mode_t
fuzzydate
)
override
{
return
get_date_from_string
(
thd
,
ltime
,
fuzzydate
);
}
String
*
val_str
(
String
*
str
);
Item
*
copy_or_same
(
THD
*
thd
);
void
no_rows_in_result
()
{}
void
print
(
String
*
str
,
enum_query_type
query_type
);
bool
change_context_processor
(
void
*
cntx
)
String
*
val_str
(
String
*
str
)
override
;
Item
*
copy_or_same
(
THD
*
thd
)
override
;
void
no_rows_in_result
()
override
{}
void
print
(
String
*
str
,
enum_query_type
query_type
)
override
;
bool
change_context_processor
(
void
*
cntx
)
override
{
context
=
(
Name_resolution_context
*
)
cntx
;
return
FALSE
;
}
Item
*
get_copy
(
THD
*
thd
)
Item
*
get_copy
(
THD
*
thd
)
override
{
return
get_item_copy
<
Item_func_group_concat
>
(
thd
,
this
);
}
qsort_cmp2
get_comparator_function_for_distinct
();
qsort_cmp2
get_comparator_function_for_order_by
();
...
...
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