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
2d775fd0
Commit
2d775fd0
authored
Nov 30, 2023
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup: Removing the unused method Type_handler::get_handler_by_cmp_type
It's not used in 10.5+
parent
a356a940
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
17 deletions
+0
-17
sql/sql_type.cc
sql/sql_type.cc
+0
-16
sql/sql_type.h
sql/sql_type.h
+0
-1
No files found.
sql/sql_type.cc
View file @
2d775fd0
...
...
@@ -1451,22 +1451,6 @@ Type_handler_string_result::charset_for_protocol(const Item *item) const
}
const
Type_handler
*
Type_handler
::
get_handler_by_cmp_type
(
Item_result
type
)
{
switch
(
type
)
{
case
REAL_RESULT
:
return
&
type_handler_double
;
case
INT_RESULT
:
return
&
type_handler_slonglong
;
case
DECIMAL_RESULT
:
return
&
type_handler_newdecimal
;
case
STRING_RESULT
:
return
&
type_handler_long_blob
;
case
TIME_RESULT
:
return
&
type_handler_datetime
;
case
ROW_RESULT
:
return
&
type_handler_row
;
}
DBUG_ASSERT
(
0
);
return
&
type_handler_string
;
}
/*
If we have a mixture of:
- a MariaDB standard (built-in permanent) data type, and
...
...
sql/sql_type.h
View file @
2d775fd0
...
...
@@ -3669,7 +3669,6 @@ class Type_handler
static
const
Type_handler
*
blob_type_handler
(
const
Item
*
item
);
static
const
Type_handler
*
get_handler_by_field_type
(
enum_field_types
type
);
static
const
Type_handler
*
get_handler_by_real_type
(
enum_field_types
type
);
static
const
Type_handler
*
get_handler_by_cmp_type
(
Item_result
type
);
static
const
Type_collection
*
type_collection_for_aggregation
(
const
Type_handler
*
h1
,
const
Type_handler
*
h2
);
...
...
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